1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix race condition in retrying jobs via web UI

This commit is contained in:
Mike Perham 2013-08-01 09:48:38 -07:00
parent 318f546c64
commit 53a07e018e

View file

@ -215,6 +215,7 @@ module Sidekiq
params['key'].each do |key|
job = Sidekiq::RetrySet.new.fetch(*parse_params(key)).first
next unless job
if params['retry']
job.retry
elsif params['delete']