summaryrefslogtreecommitdiff
path: root/src/commands/lastsave.json
blob: dc06154255df4260c2776fce5f503ef3564eb383 (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
{
    "LASTSAVE": {
        "summary": "Returns the Unix timestamp of the last successful save to disk.",
        "complexity": "O(1)",
        "group": "server",
        "since": "1.0.0",
        "arity": 1,
        "function": "lastsaveCommand",
        "command_flags": [
            "LOADING",
            "STALE",
            "FAST"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT"
        ],
        "acl_categories": [
            "ADMIN",
            "DANGEROUS"
        ],
        "reply_schema": {
            "type": "integer",
            "description": "UNIX TIME of the last DB save executed with success."
        }
    }
}