Module: SidekiqRemappableErrors::InstanceMethods
- Defined in:
- lib/sidekiq_remappable_errors.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#retry_count ⇒ Object
71 72 73 |
# File 'lib/sidekiq_remappable_errors.rb', line 71 def retry_count @retry_count || 0 end |
Instance Method Details
#remappable_retries_exhausted? ⇒ Boolean
75 76 77 78 79 80 |
# File 'lib/sidekiq_remappable_errors.rb', line 75 def remappable_retries_exhausted? retry_count >= [ sidekiq_max_retries, self.class.[:max_remaps] ].min end |