DEV: Bump `rails_failover`.
This commit is contained in:
parent
c7d75bc3a0
commit
3b311f6b15
|
@ -1,6 +1,6 @@
|
|||
GIT
|
||||
remote: https://github.com/discourse/rails_failover
|
||||
revision: ba904987444b96a3fb627ed0b145059ff9f1cf6c
|
||||
revision: ab8fd97f4507a09a2084beb13cf96e77f3fcfb6e
|
||||
specs:
|
||||
rails_failover (0.4.0)
|
||||
activerecord (~> 6.0)
|
||||
|
|
|
@ -661,6 +661,10 @@ module Discourse
|
|||
# re-establish
|
||||
Sidekiq.redis = sidekiq_redis_config
|
||||
|
||||
if ENV['ACTIVE_RECORD_RAILS_FAILOVER']
|
||||
RailsFailover::ActiveRecord.after_fork
|
||||
end
|
||||
|
||||
# in case v8 was initialized we want to make sure it is nil
|
||||
PrettyText.reset_context
|
||||
|
||||
|
|
Loading…
Reference in New Issue