Files
worldmonitor/scripts
Elie Habib 6a87e56dfc fix(ucdp): never overwrite existing data with empty results (#1766)
* fix(ucdp): never overwrite existing data with empty results

The standalone UCDP seed was writing 0 events to Redis when the API
returned empty, overwriting the last known good data. Health then
reported EMPTY_DATA CRIT even though valid data existed before.

Now extends TTL on both the data key and seed-meta when 0 events
are produced, preserving the last good payload until the next
successful fetch.

* fix(ucdp): verify EXPIRE responses before logging success

Check HTTP status of both EXPIRE calls. Log warnings on failure
instead of always claiming TTL was extended.
2026-03-17 17:45:13 +04:00
..