summaryrefslogtreecommitdiffstats
path: root/src/commands/config-set.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config-set.json')
-rw-r--r--src/commands/config-set.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/commands/config-set.json b/src/commands/config-set.json
new file mode 100644
index 0000000..656e4bc
--- /dev/null
+++ b/src/commands/config-set.json
@@ -0,0 +1,44 @@
+{
+ "SET": {
+ "summary": "Set configuration parameters to the given values",
+ "complexity": "O(N) when N is the number of configuration parameters provided",
+ "group": "server",
+ "since": "2.0.0",
+ "arity": -4,
+ "container": "CONFIG",
+ "function": "configSetCommand",
+ "history": [
+ [
+ "7.0.0",
+ "Added the ability to set multiple parameters in one call."
+ ]
+ ],
+ "command_flags": [
+ "ADMIN",
+ "NOSCRIPT",
+ "LOADING",
+ "STALE"
+ ],
+ "command_tips": [
+ "REQUEST_POLICY:ALL_NODES",
+ "RESPONSE_POLICY:ALL_SUCCEEDED"
+ ],
+ "arguments": [
+ {
+ "name": "parameter_value",
+ "type": "block",
+ "multiple": true,
+ "arguments": [
+ {
+ "name": "parameter",
+ "type": "string"
+ },
+ {
+ "name": "value",
+ "type": "string"
+ }
+ ]
+ }
+ ]
+ }
+}