mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
DEV: Bump rails_failover.
Avoid configuring AR stuff if `replica_host` and `replica_port` hasn't been provided.
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
return unless Rails.configuration.active_record_rails_failover
|
||||
|
||||
if defined?(RailsFailover::Redis)
|
||||
message_bus_keepalive_interval = nil
|
||||
|
||||
|
Reference in New Issue
Block a user