mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Bump rails_failover
.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user