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:
parent
d0451a0cc7
commit
75d075a3d7
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue