aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/memory-purge.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/memory-purge.json')
-rw-r--r--examples/redis-unstable/src/commands/memory-purge.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/memory-purge.json b/examples/redis-unstable/src/commands/memory-purge.json
new file mode 100644
index 0000000..77ed61d
--- /dev/null
+++ b/examples/redis-unstable/src/commands/memory-purge.json
@@ -0,0 +1,18 @@
1{
2 "PURGE": {
3 "summary": "Asks the allocator to release memory.",
4 "complexity": "Depends on how much memory is allocated, could be slow",
5 "group": "server",
6 "since": "4.0.0",
7 "arity": 2,
8 "container": "MEMORY",
9 "function": "memoryCommand",
10 "command_tips": [
11 "REQUEST_POLICY:ALL_SHARDS",
12 "RESPONSE_POLICY:ALL_SUCCEEDED"
13 ],
14 "reply_schema": {
15 "const": "OK"
16 }
17 }
18}