mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
force sidekiq resest after fork
This commit is contained in:
parent
7993998fc5
commit
d94774ceec
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue