Browse Source

Chore: increate undici cache size to 100 MiB

SukkaW 1 year ago
parent
commit
b426f666e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Build/lib/fetch-retry.ts

+ 1 - 1
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
     })
   })
 ));