1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

I dont think we want to skip retry, #377

This commit is contained in:
Mike Perham 2013-03-26 23:00:18 -07:00
parent 18c75683ba
commit e7eca11811

View file

@ -48,8 +48,6 @@ module Sidekiq
def call(worker, msg, queue)
yield
rescue Sidekiq::Shutdown
raise
rescue Exception => e
raise e unless msg['retry']
max_retry_attempts = retry_attempts_from(msg['retry'], DEFAULT_MAX_RETRY_ATTEMPTS)