mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
The script processes 125K records and needs ~3-4 min. The previous 120s timeout was too short. Increased to 600s (10min) to allow completion.
9 lines
577 B
JavaScript
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 },
|
|
]);
|