Files
worldmonitor/scripts
Elie Habib 2b48350b07 fix: make seed-military-bases resilient to missing data file (#1051)
- Check Railway volume mount (/data/) first, then local scripts/data/
- If no file found, check if Redis already has active data — skip gracefully
- No more crash when deployed as cron without the 34MB data file

The data uses Redis GEO/HASH keys with no TTL (persists indefinitely).
Re-seeding only needed when base data changes or Redis is wiped.
2026-03-05 12:09:37 +04:00
..