aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/client-unblock.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/client-unblock.json')
-rw-r--r--examples/redis-unstable/src/commands/client-unblock.json56
1 files changed, 0 insertions, 56 deletions
diff --git a/examples/redis-unstable/src/commands/client-unblock.json b/examples/redis-unstable/src/commands/client-unblock.json
deleted file mode 100644
index d028f47..0000000
--- a/examples/redis-unstable/src/commands/client-unblock.json
+++ /dev/null
@@ -1,56 +0,0 @@
1{
2 "UNBLOCK": {
3 "summary": "Unblocks a client blocked by a blocking command from a different connection.",
4 "complexity": "O(log N) where N is the number of client connections",
5 "group": "connection",
6 "since": "5.0.0",
7 "arity": -3,
8 "container": "CLIENT",
9 "function": "clientCommand",
10 "command_flags": [
11 "ADMIN",
12 "NOSCRIPT",
13 "LOADING",
14 "STALE",
15 "SENTINEL"
16 ],
17 "acl_categories": [
18 "CONNECTION"
19 ],
20 "reply_schema": {
21 "oneOf": [
22 {
23 "const": 0,
24 "description": "if the client was unblocked successfully"
25 },
26 {
27 "const": 1,
28 "description": "if the client wasn't unblocked"
29 }
30 ]
31 },
32 "arguments": [
33 {
34 "name": "client-id",
35 "type": "integer"
36 },
37 {
38 "name": "unblock-type",
39 "type": "oneof",
40 "optional": true,
41 "arguments": [
42 {
43 "name": "timeout",
44 "type": "pure-token",
45 "token": "TIMEOUT"
46 },
47 {
48 "name": "error",
49 "type": "pure-token",
50 "token": "ERROR"
51 }
52 ]
53 }
54 ]
55 }
56}