summaryrefslogtreecommitdiff
path: root/src/commands/bgrewriteaof.json
blob: 6267d31226059f25f671ccf4a7ac5f3e88ab4a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
    "BGREWRITEAOF": {
        "summary": "Asynchronously rewrites the append-only file to disk.",
        "complexity": "O(1)",
        "group": "server",
        "since": "1.0.0",
        "arity": 1,
        "function": "bgrewriteaofCommand",
        "command_flags": [
            "NO_ASYNC_LOADING",
            "ADMIN",
            "NOSCRIPT"
        ],
        "reply_schema": {
            "description": "A simple string reply indicating that the rewriting started or is about to start ASAP",
            "type": "string"
        }
    }
}