mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
DEV: Upgrade Sidekiq to v7.3.9
This commit is contained in:

committed by
Loïc Guitaut

parent
19acb61834
commit
3dbbb940de
@ -115,7 +115,7 @@ module BackupRestore
|
||||
|
||||
def sidekiq_has_running_jobs?
|
||||
Sidekiq::Workers.new.each do |_, _, work|
|
||||
args = work&.dig("payload", "args")&.first
|
||||
args = work.job.args&.first
|
||||
current_site_id = args["current_site_id"] if args.present?
|
||||
|
||||
return true if current_site_id.blank? || current_site_id == @current_db
|
||||
|
Reference in New Issue
Block a user