QUIT Deprecated

As of Redis version 7.2.0, this command is regarded as deprecated.

It can be replaced by just closing the connection when migrating or writing new code.

Syntax
QUIT
Available since:
Redis Open Source 1.0.0
Time complexity:
O(1)
ACL categories:
@fast, @connection,
Compatibility:
Redis Software and Redis Cloud compatibility

Ask the server to close the connection. The connection is closed as soon as all pending replies have been written to the client.

Note: Clients should not use this command. Instead, clients should simply close the connection when they're not used anymore. Terminating a connection on the client side is preferable, as it eliminates TIME_WAIT lingering sockets on the server side.

Redis Software and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active
Deprecated as of Redis v7.2.0.

Return information

RATE THIS PAGE
Back to top ↑