Add dns server

This commit is contained in:
Owen
2026-09-09 10:43:28 -04:00
parent 294830db08
commit 2c5b1e5f0f
10 changed files with 1542 additions and 0 deletions
+2
View File
@@ -20,6 +20,7 @@ import { flushSiteBandwidthToDb } from "@server/routers/gerbil/receiveBandwidth"
import { stopPingAccumulator } from "@server/routers/newt/pingAccumulator";
import { shutdownUsageRecorder } from "@server/lib/aiBudgetEnforcement";
import { shutdownAiSessionLogger } from "@server/routers/aiGateway/logAiSession";
import { stopDnsServer } from "./dns";
async function cleanup() {
await stopPingAccumulator();
@@ -31,6 +32,7 @@ async function cleanup() {
await rateLimitService.cleanup();
await wsCleanup();
await logStreamingManager.shutdown();
await stopDnsServer();
process.exit(0);
}