mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
fix(health): align shipping maxStaleMin with 6h cron interval (#1608)
Shipping seed cron runs every 6h (360min) but maxStaleMin was 240min (4h), causing STALE alerts for 2h out of every 6h cycle. Increased to 420min (7h) to provide buffer for slow runs.
This commit is contained in:
@@ -91,7 +91,7 @@ const SEED_META = {
|
||||
bisPolicy: { key: 'seed-meta:economic:bis:policy', maxStaleMin: 2880 },
|
||||
bisExchange: { key: 'seed-meta:economic:bis:eer', maxStaleMin: 2880 },
|
||||
bisCredit: { key: 'seed-meta:economic:bis:credit', maxStaleMin: 2880 },
|
||||
shippingRates: { key: 'seed-meta:supply_chain:shipping', maxStaleMin: 240 },
|
||||
shippingRates: { key: 'seed-meta:supply_chain:shipping', maxStaleMin: 420 },
|
||||
chokepoints: { key: 'seed-meta:supply_chain:chokepoints', maxStaleMin: 60 },
|
||||
minerals: { key: 'seed-meta:supply_chain:minerals', maxStaleMin: 10080 },
|
||||
giving: { key: 'seed-meta:giving:summary', maxStaleMin: 10080 },
|
||||
|
||||
Reference in New Issue
Block a user