Class: Sidekiq::LimitFetch::UnitOfWork

Inherits:
BasicFetch::UnitOfWork
  • Object
show all
Defined in:
lib/sidekiq/limit_fetch/unit_of_work.rb

Instance Method Summary collapse

Instance Method Details

#acknowledgeObject



3
4
5
# File 'lib/sidekiq/limit_fetch/unit_of_work.rb', line 3

def acknowledge
  Queue[queue_name].release
end

#requeueObject



7
8
9
10
# File 'lib/sidekiq/limit_fetch/unit_of_work.rb', line 7

def requeue
  super
  acknowledge
end