DEV: Fix deprecation warning when using `Redis#close` with redis namespace.

DEV: Fix deprecation warning when using Redis#close with redis namespace.

diff --git a/lib/discourse.rb b/lib/discourse.rb
index 9a5247d..525bb79 100644
--- a/lib/discourse.rb
+++ b/lib/discourse.rb
@@ -666,7 +666,7 @@ module Discourse
     Discourse.cache.reconnect
     Logster.store.redis.reconnect
     # shuts down all connections in the pool
-    Sidekiq.redis_pool.shutdown { |conn| conn.close  }
+    Sidekiq.redis_pool.shutdown { |conn| conn.disconnect!  }
     # re-establish
     Sidekiq.redis = sidekiq_redis_config
 

GitHub sha: 90dc6c8c