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

Fix redis race condition on startup

This commit is contained in:
Mike Perham 2015-03-10 14:46:51 -07:00
parent 2f71d53877
commit dd580188d0

View file

@ -68,6 +68,11 @@ module Sidekiq
fire_event(:startup)
Sidekiq.redis do |conn|
# touch the connection pool so it is created before we
# launch the actors.
end
if !options[:daemon]
logger.info 'Starting processing, hit Ctrl-C to stop'
end