lib/resque/plugins/retry.rb
# Test if the retry limit has been reached
#
# @return [Boolean]
#
# @api public
Test if the retry limit has been reached
Test if the retry limit has been reached
def retry_limit_reached?
        if retry_limit == 0
          true
        elsif retry_limit > 0
          true if retry_attempt >= retry_limit
        else
          false
        end
      end
def retry_limit_reached? if retry_limit == 0 true elsif retry_limit > 0 true if retry_attempt >= retry_limit else false end end
Test if the retry limit has been reached
Test if the retry limit has been reached
None
Boolean
api
None