浏览代码

Chore: increate undici cache size to 100 MiB

SukkaW 1 年之前
父节点
当前提交
b426f666e2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
     })
   })
 ));