mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Bump rails_failover.
This commit is contained in:
parent
ae52f5eaf5
commit
8e1681d356
@ -1,10 +1,9 @@
|
||||
GIT
|
||||
remote: https://github.com/discourse/rails_failover
|
||||
revision: a8785298ad5c89869c315d53d5f7243ec9443b55
|
||||
revision: e9893a3920809c9a1bca4f7ae07b7243b2cd127e
|
||||
specs:
|
||||
rails_failover (0.4.0)
|
||||
activerecord (~> 6.0)
|
||||
listen (~> 3.2)
|
||||
railties (~> 6.0)
|
||||
|
||||
GEM
|
||||
|
@ -25,7 +25,7 @@ if ENV["ACTIVE_RECORD_RAILS_FAILOVER"]
|
||||
Discourse.disable_readonly_mode(Discourse::PG_READONLY_MODE_KEY)
|
||||
end
|
||||
|
||||
Sidekiq.unpause!
|
||||
Sidekiq.unpause! if Sidekiq.pause?
|
||||
end
|
||||
|
||||
module Discourse
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user