From 71dec369a759ad696f3b451cfc720e354cc2dd06 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Thu, 3 Sep 2026 09:46:08 +0800 Subject: [PATCH] Perf/Chore: increase cache store maxCount --- Build/lib/fetch-retry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/lib/fetch-retry.ts b/Build/lib/fetch-retry.ts index bff68b7b..43bc3dcc 100644 --- a/Build/lib/fetch-retry.ts +++ b/Build/lib/fetch-retry.ts @@ -171,7 +171,7 @@ const agent = new Agent({ store: new BetterSqlite3CacheStore({ loose: true, location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'), - maxCount: 128, + maxCount: 256, maxEntrySize: 1024 * 1024 * 100, // 100 MiB revalidationRetention: 7 * 24 * 60 * 60 * 1000 // 7 days }),