summaryrefslogtreecommitdiffstats
path: root/src/commands/client-no-evict.json
blob: fc0ad71c94661a46fd9c42d66684654c4e2aa619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
    "NO-EVICT": {
        "summary": "Set client eviction mode for the current connection",
        "complexity": "O(1)",
        "group": "connection",
        "since": "7.0.0",
        "arity": 3,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "ADMIN",
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "arguments": [
            {
                "name": "enabled",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "on",
                        "type": "pure-token",
                        "token": "ON"
                    },
                    {
                        "name": "off",
                        "type": "pure-token",
                        "token": "OFF"
                    }
                ]
            }
        ]
    }
}