summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-05-10 13:26:46 +0800
committerGitHub <noreply@github.com>2023-05-10 08:26:46 +0300
commit8597991e8f7662a43e91b852f942f0998e39bcfc (patch)
tree2ce4fa945f031738f0c31ff806d57a1725650853 /src/commands
parente04ebdb8d3f558b27ecdc6555a33ed91966371cd (diff)
downloadredis-8597991e8f7662a43e91b852f942f0998e39bcfc.tar.gz
Correct COMMAND DOCS summary, like COMMAND INFO (#12152)
This pattern is from COMMAND INFO: Returns information about one, multiple or all commands. Also re-generate commands.def, the GEO change was missing in #12151.
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/command-docs.json2
-rw-r--r--src/commands/xreadgroup.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/command-docs.json b/src/commands/command-docs.json
index 27e2acf91..75df5b4c6 100644
--- a/src/commands/command-docs.json
+++ b/src/commands/command-docs.json
@@ -1,6 +1,6 @@
{
"DOCS": {
- "summary": "Returns documentary information about a command.",
+ "summary": "Returns documentary information about one, multiple or all commands.",
"complexity": "O(N) where N is the number of commands to look up",
"group": "server",
"since": "7.0.0",
diff --git a/src/commands/xreadgroup.json b/src/commands/xreadgroup.json
index c4d24748e..93e45a877 100644
--- a/src/commands/xreadgroup.json
+++ b/src/commands/xreadgroup.json
@@ -1,6 +1,6 @@
{
"XREADGROUP": {
- "summary": "Returns new or historical messages from a stream for a consumer in agroup. Blocks until a message is available otherwise.",
+ "summary": "Returns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise.",
"complexity": "For each stream mentioned: O(M) with M being the number of elements returned. If M is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1). On the other side when XREADGROUP blocks, XADD will pay the O(N) time in order to serve the N clients blocked on the stream getting new data.",
"group": "stream",
"since": "5.0.0",