Try to solve th problem

This commit is contained in:
Owen
2026-03-24 17:39:43 -07:00
parent 1f4cde5f7f
commit 348fcbcabf
10 changed files with 446 additions and 73 deletions

View File

@@ -16,8 +16,10 @@ import { cleanup as wsCleanup } from "#private/routers/ws";
import { flushBandwidthToDb } from "@server/routers/newt/handleReceiveBandwidthMessage";
import { flushConnectionLogToDb } from "#dynamic/routers/newt";
import { flushSiteBandwidthToDb } from "@server/routers/gerbil/receiveBandwidth";
import { stopPingAccumulator } from "@server/routers/newt/pingAccumulator";
async function cleanup() {
await stopPingAccumulator();
await flushBandwidthToDb();
await flushConnectionLogToDb();
await flushSiteBandwidthToDb();