summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-flushconfig.json
blob: b2fa5decfe44da09f6365617c48dfccfba0bb7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "FLUSHCONFIG": {
        "summary": "Rewrites the Redis Sentinel configuration file.",
        "complexity": "O(1)",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 2,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "const": "OK",
            "description": "Force Sentinel to rewrite its configuration on disk, including the current Sentinel state."
        }
    }
}