A platform for community discussion. Free, open, simple.
DEV: Avoid reaching for `Redis#_client` which is considered deprecated.
Guo Xiang Tane4cd4f7e0be9
diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rbindex 268edb66c99..71831433dd1 100644--- a/config/unicorn.conf.rb+++ b/config/unicorn.conf.rb@@ -162,7 +162,7 @@ before_fork do |server, worker|sleep 10force_kill_rogue_sidekiqend- Discourse.redis._client.disconnect+ Discourse.redis.closeendend@@ -177,7 +177,7 @@ before_fork do |server, worker|end- Discourse.redis._client.disconnect+ Discourse.redis.close# Throttle the master from forking too quickly by sleeping. Due# to the implementation of standard Unix signal handlers, this