summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/client-no-evict.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/client-no-evict.md')
-rw-r--r--iredis/data/commands/client-no-evict.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/iredis/data/commands/client-no-evict.md b/iredis/data/commands/client-no-evict.md
new file mode 100644
index 0000000..70070a6
--- /dev/null
+++ b/iredis/data/commands/client-no-evict.md
@@ -0,0 +1,11 @@
+The `CLIENT NO-EVICT` command sets the [client eviction](/topics/clients#client-eviction) mode for the current connection.
+
+When turned on and client eviction is configured, the current connection will be excluded from the client eviction process even if we're above the configured client eviction threshold.
+
+When turned off, the current client will be re-included in the pool of potential clients to be evicted (and evicted if needed).
+
+See [client eviction](/topics/clients#client-eviction) for more details.
+
+@return
+
+@simple-string-reply: `OK`.