mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:53:45 +08:00
force sidekiq resest after fork
This commit is contained in:
parent
7993998fc5
commit
d94774ceec
|
@ -131,6 +131,7 @@ module BackupRestore
|
|||
$redis.client.reconnect
|
||||
Rails.cache.reconnect
|
||||
MessageBus.after_fork
|
||||
Sidekiq.instance_variable_set(:@redis, nil)
|
||||
end
|
||||
|
||||
def self.backup_tables_count
|
||||
|
|
Loading…
Reference in New Issue
Block a user