force sidekiq resest after fork

This commit is contained in:
Régis Hanol 2014-02-13 02:44:24 -08:00
parent 7993998fc5
commit d94774ceec

View File

@ -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