method

executions_for

executions_for(exceptions)
private

No documentation available.

# File activejob/lib/active_job/exceptions.rb, line 188
      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