summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-pending-scripts.json
blob: 22dae4774dc84abfa1d4394b5a2a6eae3d666e08 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
{
    "PENDING-SCRIPTS": {
        "summary": "Returns information about pending scripts for Redis Sentinel.",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 2,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "array",
            "description": "List of pending scripts.",
            "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "argv": {
                        "type": "array",
                        "description": "Script arguments.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "flags": {
                        "type": "string",
                        "description": "Script flags."
                    },
                    "pid": {
                        "type": "string",
                        "description": "Script pid."
                    },
                    "run-time": {
                        "type": "string",
                        "description": "Script run-time."
                    },
                    "run-delay": {
                        "type": "string",
                        "description": "Script run-delay."
                    },
                    "retry-num": {
                        "type": "string",
                        "description": "Number of times we tried to execute the script."
                    }
                }
            }
        }
    }
}