From b426f666e260cbd2f02f784dc081bbf2c71453d5 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sat, 11 Jan 2025 22:22:39 +0800 Subject: [PATCH] Chore: increate undici cache size to 100 MiB --- 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 3ac951e76..c472bd3de 100644 --- a/Build/lib/fetch-retry.ts +++ b/Build/lib/fetch-retry.ts @@ -112,7 +112,7 @@ setGlobalDispatcher(agent.compose( interceptors.cache({ store: new BetterSqlite3CacheStore({ location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'), - maxEntrySize: 1024 * 1024 * 50 // 50 MiB + maxEntrySize: 1024 * 1024 * 100 // 100 MiB }) }) ));