method

executions_for

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Exceptions
executions_for(exceptions) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/exceptions.rb, line 193
      def executions_for(exceptions)
        if exception_executions
          exception_executions[exceptions.to_s] = (exception_executions[exceptions.to_s] || 0) + 1
        else
          # Guard against jobs that were persisted before we started having individual executions counters per retry_on
          executions
        end
      end
Register or log in to add new notes.