Contacts whose weather/hrrr/terrain/iemre status has been :queued for more than 3 days (144 cron cycles) are flipped to :unavailable. The set_enrichment_status!/3 helper is a no-op when the status is unchanged, so a stuck row retains a stale updated_at — which is exactly the signal we need for 'the cron has already tried and the data doesnt exist upstream' (dead ASOS station, pre-2014 HRRR, out-of-grid IEMRE). Clears ~1,492 pre-existing stuck contacts and stops them from churning the backfill queue. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| support | ||
| test_helper.exs | ||