Skip to content

Commit

Permalink
Merge pull request #8 from Darep/fix/fast-job-reschedule
Browse files Browse the repository at this point in the history
Don't reschedule if the job is gone
  • Loading branch information
NuckChorris committed Aug 9, 2015
2 parents ebb9eff + afb1fc6 commit f5b7a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/debounce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def scheduled_set

def reschedule(jid, at)
job = scheduled_set.find_job(jid)
job.reschedule(at)
job.reschedule(at) unless job.nil?
jid
end

Expand Down

0 comments on commit f5b7a3f

Please sign in to comment.