Skip to content

Commit

Permalink
Allow Redis#close (#209)
Browse files Browse the repository at this point in the history
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 <jean.boussier@gmail.com>
  • Loading branch information
casperisfine and byroot committed Sep 1, 2022
1 parent d06cf80 commit 2c1ae0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/redis/namespace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ class Namespace
HELPER_COMMANDS = {
"auth" => [],
"disconnect!" => [],
"close" => [],
"echo" => [],
"ping" => [],
"time" => [],
Expand Down

0 comments on commit 2c1ae0f

Please sign in to comment.