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

Update comment.

This commit is contained in:
Jonathan Hyman 2014-02-24 16:09:29 -05:00
parent f761c674a4
commit a39a32b8e8

View file

@ -145,7 +145,7 @@ module Sidekiq
Marshal.load(Marshal.dump(ary)) Marshal.load(Marshal.dump(ary))
end end
# If there is a Redis::TimeoutError, the block passed to this method will be retried up to max_retries times. # If an exception, the block passed to this method will be retried up to max_retries times.
# All exceptions will be swallowed and logged. # All exceptions will be swallowed and logged.
def retry_and_suppress_exceptions(max_retries = 2) def retry_and_suppress_exceptions(max_retries = 2)
retry_count = 0 retry_count = 0