Avoid false alarms due to delayed HeartbeatJob

When Sidekiq was restarted, the scheduler's time was reset and jobs were
executed later. Now we trigger the HeartbeatJob straight after a Sidekiq
boot and we shouldn't see any false alarms in our monitoring.
This commit is contained in:
Maikel Linke
2021-06-09 12:05:18 +10:00
parent fcbe42f080
commit a0835eae54

View File

@@ -9,7 +9,7 @@
:schedule:
HeartbeatJob:
every: "5m"
every: ["5m", first_in: "0s"]
SubscriptionPlacementJob:
every: "5m"
SubscriptionConfirmJob: