perf: reduce idle polling frequency in instrumentation (30s to 60s)
This commit is contained in:
@@ -32,12 +32,12 @@ export async function register() {
|
||||
);
|
||||
const timer = setInterval(() => {
|
||||
void drainFurnitureImports();
|
||||
}, 30000);
|
||||
}, 60000);
|
||||
timer.unref();
|
||||
const { sweepExpiredCloudflareBlocks } = await import("@/lib/cloudflare-api");
|
||||
const cloudflareSweep = setInterval(() => {
|
||||
void sweepExpiredCloudflareBlocks();
|
||||
}, 30000);
|
||||
}, 60000);
|
||||
cloudflareSweep.unref();
|
||||
|
||||
// A deploy starts with an empty in-process cache, so prime the hot public
|
||||
|
||||
Reference in New Issue
Block a user