1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Ease actor linking retry interval.

This commit is contained in:
Tobias Svensson 2013-09-17 14:58:20 +01:00
parent d0451a0cc7
commit 75d075a3d7

View file

@ -27,8 +27,8 @@ module Sidetiq
def link_to_sidekiq_manager
Sidekiq::CLI.instance.launcher.manager.link(current_actor)
rescue NoMethodError
warn "Can't link #{self.class.name}. Sidekiq::Manager not running. Retrying ..."
after(1) { link_to_sidekiq_manager }
warn "Can't link #{self.class.name}. Sidekiq::Manager not running. Retrying in 5 seconds ..."
after(5) { link_to_sidekiq_manager }
end
def log_call(call)