From 2c1ae0f3c4b06b92712461dea387234a40a8164b Mon Sep 17 00:00:00 2001 From: Jean byroot Boussier Date: Thu, 1 Sep 2022 14:05:45 +0200 Subject: [PATCH] Allow Redis#close (#209) It's been the recommended way to close the connection for a good decade, and it's the method ued by connection_pool gem. Co-authored-by: Jean Boussier --- lib/redis/namespace.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/redis/namespace.rb b/lib/redis/namespace.rb index 5aabcaa..719e166 100644 --- a/lib/redis/namespace.rb +++ b/lib/redis/namespace.rb @@ -202,6 +202,7 @@ class Namespace HELPER_COMMANDS = { "auth" => [], "disconnect!" => [], + "close" => [], "echo" => [], "ping" => [], "time" => [],