summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-config.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-config.json')
-rw-r--r--src/commands/sentinel-config.json14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/commands/sentinel-config.json b/src/commands/sentinel-config.json
index ecc317603..6e3075f7c 100644
--- a/src/commands/sentinel-config.json
+++ b/src/commands/sentinel-config.json
@@ -1,12 +1,18 @@
{
"CONFIG": {
"summary": "Configures Redis Sentinel.",
- "complexity": "O(1)",
+ "complexity": "O(N) when N is the number of configuration parameters provided",
"group": "sentinel",
"since": "6.2.0",
"arity": -4,
"container": "SENTINEL",
"function": "sentinelCommand",
+ "history": [
+ [
+ "7.2.0",
+ "Added the ability to set and get multiple parameters in one call."
+ ]
+ ],
"command_flags": [
"ADMIN",
"SENTINEL",
@@ -42,7 +48,7 @@
"type": "string"
},
"announce-port": {
- "type": "integer"
+ "type": "string"
},
"sentinel-user": {
"type": "string"
@@ -87,6 +93,7 @@
"name":"set",
"token":"SET",
"type":"block",
+ "multiple": true,
"arguments":[
{
"name":"parameter",
@@ -101,7 +108,8 @@
{
"token":"GET",
"name":"parameter",
- "type":"string"
+ "type":"string",
+ "multiple": true
}
]
}