Module: ActiveJob::Uniqueness::SidekiqPatch::ScheduledSet

Defined in:
lib/active_job/uniqueness/sidekiq_patch.rb

Instance Method Summary collapse

Instance Method Details

#delete(score, job_id) ⇒ Object



42
43
44
45
46
# File 'lib/active_job/uniqueness/sidekiq_patch.rb', line 42

def delete(score, job_id)
  entry = find_job(job_id)
  ActiveJob::Uniqueness.unlock_sidekiq_job!(entry.item) if super
  entry
end