CLIENT NO-EVICT
Since 1.1.0Server
Syntax
CLIENT NO-EVICT ON|OFFAccepted for compatibility, and changes nothing. In Redis, ON exempts this connection from client eviction, which closes the connections using the most memory once all of them together pass maxmemory-clients. KiviDB has no client eviction: maxmemory-clients is accepted and has no effect, so no connection is closed to free memory, with or without this.
ON and OFF are the only arguments. CLIENT LIST and CLIENT INFO show the e flag for it, and RESET turns it off, as in Redis, since 1.2.1; 1.2.0 showed no flag and kept it through RESET.
Reply
OK, or ERR syntax error for anything other than ON or OFF.
Examples
> CLIENT NO-EVICT ON
OK
> CLIENT NO-EVICT maybe
(error) ERR syntax error