mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
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.
17 lines
219 B
YAML
17 lines
219 B
YAML
---
|
|
|
|
:verbose: false
|
|
:concurrency: 5
|
|
|
|
:queues:
|
|
- default
|
|
- mailers
|
|
|
|
:schedule:
|
|
HeartbeatJob:
|
|
every: ["5m", first_in: "0s"]
|
|
SubscriptionPlacementJob:
|
|
every: "5m"
|
|
SubscriptionConfirmJob:
|
|
every: "5m"
|