Skip to content

Commit

Permalink
increase method retry_and_suppress_exceptions default retries to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-huang committed May 20, 2015
1 parent 580cf0d commit 3adf949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/processor.rb
Expand Up @@ -132,7 +132,7 @@ def cloned(ary)

# 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
Expand Down

0 comments on commit 3adf949

Please sign in to comment.