FIX: heartbeat should be per host
We need to schedule heartbeat on the correct host, otherwise some queues may end up starving.
This commit is contained in:
parent
3e855e33ae
commit
17bed44405
|
@ -4,6 +4,7 @@ module Jobs
|
|||
|
||||
# used to ensure at least 1 sidekiq is running correctly
|
||||
class Heartbeat < Jobs::Scheduled
|
||||
per_host
|
||||
every 3.minute
|
||||
|
||||
def execute(args)
|
||||
|
|
Loading…
Reference in New Issue