1
0
Fork 0
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:
Kyle Drake 2012-07-15 23:11:38 -07:00
parent c232f5e53b
commit e2b23976b8

View file

@ -55,7 +55,7 @@ module Sidekiq
def add_jitter
begin
sleep(POLL_INTERVAL * rand)
sleep(poll_interval * rand)
rescue Celluloid::Task::TerminatedError
# Hit Ctrl-C when Sidekiq is finished booting and we have a chance
# to get here.