Method: Delayed::Worker#max_attempts
- Defined in:
- lib/delayed/worker.rb
permalink #max_attempts(job) ⇒ Object
[View source]
164 165 166 |
# File 'lib/delayed/worker.rb', line 164 def max_attempts(job) job.max_attempts || self.class.max_attempts end |