mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
DEV: Fix incorrect messagebus redis config for rails_failover.
This commit is contained in:
parent
c35649ccf1
commit
edc940ce3e
@ -200,8 +200,8 @@ class GlobalSetting
|
||||
|
||||
if message_bus_redis_slave_host && message_bus_redis_slave_port
|
||||
if ENV["REDIS_RAILS_FAILOVER"]
|
||||
c[:replica_host] = redis_slave_host
|
||||
c[:replica_port] = redis_slave_port
|
||||
c[:replica_host] = message_bus_redis_slave_host
|
||||
c[:replica_port] = message_bus_redis_slave_port
|
||||
c[:connector] = RailsFailover::Redis::Connector
|
||||
else
|
||||
c[:slave_host] = message_bus_redis_slave_host
|
||||
|
Loading…
Reference in New Issue
Block a user