Files
worldmonitor/scripts/seed-bundle-static-ref.mjs
Elie Habib cbb51a887a fix(seeds): re-add military-bases to static-ref bundle with 10min timeout (#2895)
The script processes 125K records and needs ~3-4 min. The previous 120s
timeout was too short. Increased to 600s (10min) to allow completion.
2026-04-10 14:23:48 +04:00

9 lines
577 B
JavaScript

#!/usr/bin/env node
import { runBundle, DAY, WEEK } from './_bundle-runner.mjs';
await runBundle('static-ref', [
{ label: 'Submarine-Cables', script: 'seed-submarine-cables.mjs', seedMetaKey: 'infrastructure:submarine-cables', intervalMs: WEEK, timeoutMs: 300_000 },
{ label: 'Chokepoint-Baselines', script: 'seed-chokepoint-baselines.mjs', seedMetaKey: 'energy:chokepoint-baselines', intervalMs: 400 * DAY, timeoutMs: 60_000 },
{ label: 'Military-Bases', script: 'seed-military-bases.mjs', seedMetaKey: 'military:bases', intervalMs: 30 * DAY, timeoutMs: 600_000 },
]);