From 07d187066a86a9a3124af740373bf5bf49e345ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= Date: Wed, 9 Nov 2022 13:41:00 +0100 Subject: Deprecate QUIT (#11439) 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. --- src/commands/quit.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/commands') diff --git a/src/commands/quit.json b/src/commands/quit.json index cf13f1ee9..cdb80336d 100644 --- a/src/commands/quit.json +++ b/src/commands/quit.json @@ -6,6 +6,11 @@ "since": "1.0.0", "arity": -1, "function": "quitCommand", + "deprecated_since": "7.2.0", + "replaced_by": "just closing the connection", + "doc_flags": [ + "DEPRECATED" + ], "command_flags": [ "ALLOW_BUSY", "NOSCRIPT", -- cgit v1.2.1