Wire up to start

This commit is contained in:
Owen
2026-09-09 16:50:37 -04:00
parent 7e4d38548f
commit ad343a7453
6 changed files with 45 additions and 19 deletions
+2
View File
@@ -21,6 +21,7 @@ import { stopPingAccumulator } from "@server/routers/newt/pingAccumulator";
import { shutdownUsageRecorder } from "@server/lib/aiBudgetEnforcement";
import { shutdownAiSessionLogger } from "@server/routers/aiGateway/logAiSession";
import { stopDnsServer } from "./dns";
import { stopCertificateManager } from "./certificates";
async function cleanup() {
await stopPingAccumulator();
@@ -33,6 +34,7 @@ async function cleanup() {
await wsCleanup();
await logStreamingManager.shutdown();
await stopDnsServer();
await stopCertificateManager();
process.exit(0);
}