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

increase method retry_and_suppress_exceptions default retries to 5

This commit is contained in:
Victor Huang 2015-05-19 19:08:54 -07:00
parent 580cf0d520
commit 3adf949663

View file

@ -132,7 +132,7 @@ module Sidekiq
# If an exception occurs in the block passed to this method, that block will be retried up to max_retries times.
# All exceptions will be swallowed and logged.
def retry_and_suppress_exceptions(max_retries = 2)
def retry_and_suppress_exceptions(max_retries = 5)
retry_count = 0
begin
yield