summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-pending-scripts.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-pending-scripts.json')
-rw-r--r--src/commands/sentinel-pending-scripts.json41
1 files changed, 39 insertions, 2 deletions
diff --git a/src/commands/sentinel-pending-scripts.json b/src/commands/sentinel-pending-scripts.json
index 6ef33ec69..22dae4774 100644
--- a/src/commands/sentinel-pending-scripts.json
+++ b/src/commands/sentinel-pending-scripts.json
@@ -1,6 +1,6 @@
{
"PENDING-SCRIPTS": {
- "summary": "Get information about pending scripts",
+ "summary": "Returns information about pending scripts for Redis Sentinel.",
"group": "sentinel",
"since": "2.8.4",
"arity": 2,
@@ -10,6 +10,43 @@
"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."
+ }
+ }
+ }
+ }
}
}