Class: BunnyCarrot::Strategy::RestartAndBlock
- Defined in:
- lib/bunny_carrot/strategy/restart_and_block.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Methods included from Logger
Constructor Details
This class inherits a constructor from BunnyCarrot::Strategy::Base
Instance Method Details
#perform ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/bunny_carrot/strategy/restart_and_block.rb', line 5 def perform if restart_attempts_left? logger.info "Requeuing with attempt: #{@restart_attempt}" acknowledge publish end end |