mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
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:
@@ -9,7 +9,7 @@
|
||||
|
||||
:schedule:
|
||||
HeartbeatJob:
|
||||
every: "5m"
|
||||
every: ["5m", first_in: "0s"]
|
||||
SubscriptionPlacementJob:
|
||||
every: "5m"
|
||||
SubscriptionConfirmJob:
|
||||
|
||||
Reference in New Issue
Block a user