DEV: Prefer Discourse.redis.reconnct.

This commit is contained in:
Guo Xiang Tan 2020-06-01 10:55:53 +08:00
parent 5c24f83a6b
commit 3894555b2e
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -652,7 +652,7 @@ module Discourse
# note: some of this reconnecting may no longer be needed per https://github.com/redis/redis-rb/pull/414
MessageBus.after_fork
SiteSetting.after_fork
Discourse.redis._client.reconnect
Discourse.redis.reconnect
Rails.cache.reconnect
Discourse.cache.reconnect
Logster.store.redis.reconnect