Bump rails_failover.

This commit is contained in:
Guo Xiang Tan
2020-06-04 15:21:42 +08:00
parent ae52f5eaf5
commit 8e1681d356
3 changed files with 2 additions and 7 deletions

View File

@ -661,10 +661,6 @@ 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