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
|
if !@down
|
||||||
@down = Time.now
|
@down = Time.now
|
||||||
logger.error("Error fetching job: #{ex}")
|
logger.error("Error fetching job: #{ex}")
|
||||||
handle_exception(ex, {})
|
handle_exception(ex)
|
||||||
end
|
end
|
||||||
sleep(1)
|
sleep(1)
|
||||||
nil
|
nil
|
||||||
|
|
|
@ -79,7 +79,7 @@ module Sidekiq
|
||||||
# Most likely a problem with redis networking.
|
# Most likely a problem with redis networking.
|
||||||
# Punt and try again at the next interval
|
# Punt and try again at the next interval
|
||||||
logger.error ex.message
|
logger.error ex.message
|
||||||
handle_exception(ex, {})
|
handle_exception(ex)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ module Sidekiq
|
||||||
# if poll_interval_average hasn't been calculated yet, we can
|
# if poll_interval_average hasn't been calculated yet, we can
|
||||||
# raise an error trying to reach Redis.
|
# raise an error trying to reach Redis.
|
||||||
logger.error ex.message
|
logger.error ex.message
|
||||||
handle_exception(ex, {})
|
handle_exception(ex)
|
||||||
sleep 5
|
sleep 5
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue