mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
remove unnecessary options, #3677
This commit is contained in:
parent
4a7da4302d
commit
4619888849
2 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ module Sidekiq
|
|||
if !@down
|
||||
@down = Time.now
|
||||
logger.error("Error fetching job: #{ex}")
|
||||
handle_exception(ex, {})
|
||||
handle_exception(ex)
|
||||
end
|
||||
sleep(1)
|
||||
nil
|
||||
|
|
|
@ -79,7 +79,7 @@ module Sidekiq
|
|||
# Most likely a problem with redis networking.
|
||||
# Punt and try again at the next interval
|
||||
logger.error ex.message
|
||||
handle_exception(ex, {})
|
||||
handle_exception(ex)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -93,7 +93,7 @@ module Sidekiq
|
|||
# if poll_interval_average hasn't been calculated yet, we can
|
||||
# raise an error trying to reach Redis.
|
||||
logger.error ex.message
|
||||
handle_exception(ex, {})
|
||||
handle_exception(ex)
|
||||
sleep 5
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue