Add Plutonium version checks and scheduled rolling restarts

This commit is contained in:
2026-09-21 18:47:24 -04:00
parent 424d6cefb6
commit 47d6dc07b7
10 changed files with 583 additions and 0 deletions
+3
View File
@@ -13,6 +13,7 @@ import { isProvisioning } from '../fleet/provisioning.js';
import { STATUS_REFRESH_MS } from '../../server-freshness.js';
import { recordMetrics } from '../fleet/metrics.js';
import { selectedZombieMap } from '../../map-aliases.js';
import { maintenanceTick } from '../fleet/plutonium.js';
const TICK_MS = 15_000;
// Cap concurrent UDP RCON calls so a 15-server fleet doesn't blast the
@@ -46,6 +47,8 @@ async function runTick(): Promise<void> {
} catch (err) {
console.error('[worker] beta-runner error:', err);
}
try { await maintenanceTick(); }
catch (err) { console.error('[worker] maintenance error:', err); }
}
/**