mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix poll interval for scheduling
This commit is contained in:
parent
c232f5e53b
commit
e2b23976b8
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module Sidekiq
|
||||||
|
|
||||||
def add_jitter
|
def add_jitter
|
||||||
begin
|
begin
|
||||||
sleep(POLL_INTERVAL * rand)
|
sleep(poll_interval * rand)
|
||||||
rescue Celluloid::Task::TerminatedError
|
rescue Celluloid::Task::TerminatedError
|
||||||
# Hit Ctrl-C when Sidekiq is finished booting and we have a chance
|
# Hit Ctrl-C when Sidekiq is finished booting and we have a chance
|
||||||
# to get here.
|
# to get here.
|
||||||
|
|
Loading…
Add table
Reference in a new issue