DEV: Bump rails_failover.

Avoid configuring AR stuff if `replica_host` and `replica_port` hasn't
been provided.
This commit is contained in:
Guo Xiang Tan
2020-06-16 10:51:21 +08:00
parent a2713578dd
commit 092ae858af
3 changed files with 5 additions and 3 deletions

View File

@ -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