mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-11 17:46:20 +02:00
* fix(relay): increase OREF curl maxBuffer to 10MB to prevent ENOBUFS AlertsHistory.json response exceeds execFileSync default 1MB buffer, causing spawnSync ENOBUFS on Railway container at startup. * fix(relay): use curl -o tmpfile for OREF history instead of stdout buffer Large AlertsHistory.json overflows execFileSync stdout buffer (ENOBUFS). Now writes to temp file via curl -o, reads with fs.readFileSync, cleans up. Live alerts (tiny payload) still use stdout path.