content/commands/client-no-evict.md
The CLIENT NO-EVICT command sets the [client eviction]({{< relref "/develop/reference/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]({{< relref "/develop/reference/clients" >}}#client-eviction) for more details.
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |
{{< multitabs id="client-no-evict-return-info" tab1="RESP2" tab2="RESP3" >}}
One of the following:
OK if the command was successful.-tab-sep-
One of the following:
OK if the command was successful.{{< /multitabs >}}