diff options
Diffstat (limited to 'src/commands/client-no-touch.json')
-rw-r--r-- | src/commands/client-no-touch.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/commands/client-no-touch.json b/src/commands/client-no-touch.json new file mode 100644 index 0000000..4cf7b72 --- /dev/null +++ b/src/commands/client-no-touch.json @@ -0,0 +1,40 @@ +{ + "NO-TOUCH": { + "summary": "Controls whether commands sent by the client affect the LRU/LFU of accessed keys.", + "complexity": "O(1)", + "group": "connection", + "since": "7.2.0", + "arity": 3, + "container": "CLIENT", + "function": "clientCommand", + "command_flags": [ + "NOSCRIPT", + "LOADING", + "STALE" + ], + "acl_categories": [ + "CONNECTION" + ], + "reply_schema": { + "const": "OK" + }, + "arguments": [ + { + "name": "enabled", + "type": "oneof", + "arguments": [ + { + "name": "on", + "type": "pure-token", + "token": "ON" + }, + { + "name": "off", + "type": "pure-token", + "token": "OFF" + } + ] + } + ] + } +} |