Flowdock
method

enqueue_retry

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: LogSubscriber
enqueue_retry(event) public

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/log_subscriber.rb, line 71
    def enqueue_retry(event)
      job = event.payload[:job]
      ex = event.payload[:error]
      wait = event.payload[:wait]

      info do
        if ex
          "Retrying #{job.class} in #{wait.to_i} seconds, due to a #{ex.class}."
        else
          "Retrying #{job.class} in #{wait.to_i} seconds."
        end
      end
    end
Register or log in to add new notes.