Set metrics interval to 1s
This commit is contained in:
@@ -84,7 +84,7 @@ setInterval(async () => {
|
|||||||
|
|
||||||
usageSecs.splice(0, usageSecs.length);
|
usageSecs.splice(0, usageSecs.length);
|
||||||
}
|
}
|
||||||
}, 1);
|
}, 1000);
|
||||||
|
|
||||||
export async function GET(req: NextRequest): Promise<NextResponse> {
|
export async function GET(req: NextRequest): Promise<NextResponse> {
|
||||||
const auth = await testAuth(req);
|
const auth = await testAuth(req);
|
||||||
|
|||||||
Reference in New Issue
Block a user