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:
Sam Saffron 2019-08-30 16:10:08 +10:00
parent 3e855e33ae
commit 17bed44405
1 changed files with 1 additions and 0 deletions

View File

@ -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)