From 471e731d2f014c4624247a9ce8806406f09942a2 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sun, 28 Dec 2025 02:59:13 +0100 Subject: [PATCH] Set metrics interval to 1s --- src/app/api/metrics/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/metrics/route.ts b/src/app/api/metrics/route.ts index 7e15dc8..e1864c8 100644 --- a/src/app/api/metrics/route.ts +++ b/src/app/api/metrics/route.ts @@ -84,7 +84,7 @@ setInterval(async () => { usageSecs.splice(0, usageSecs.length); } -}, 1); +}, 1000); export async function GET(req: NextRequest): Promise { const auth = await testAuth(req);