FIX: heartbeat should be per host

FIX: heartbeat should be per host

We need to schedule heartbeat on the correct host, otherwise some queues may end up starving.

diff --git a/app/jobs/scheduled/heartbeat.rb b/app/jobs/scheduled/heartbeat.rb
index efd8213..59d44ca 100644
--- a/app/jobs/scheduled/heartbeat.rb
+++ b/app/jobs/scheduled/heartbeat.rb
@@ -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)

GitHub sha: 17bed444

2 Likes

Revert "FIX: heartbeat should be per host"