DEV: Upgrade Sidekiq to v7.3.9

This commit is contained in:
Loïc Guitaut
2025-03-05 17:17:30 +01:00
committed by Loïc Guitaut
parent 19acb61834
commit 3dbbb940de
14 changed files with 62 additions and 59 deletions

View File

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