Method: Chore::UnitOfWork#current_attempt
- Defined in:
- lib/chore/unit_of_work.rb
#current_attempt ⇒ Object
The current attempt number for the worker processing this message.
22 23 24 |
# File 'lib/chore/unit_of_work.rb', line 22 def current_attempt previous_attempts + 1 end |