Chore: increate undici cache size to 100 MiB

This commit is contained in:
SukkaW 2025-01-11 22:22:39 +08:00
parent d7ea0c9606
commit b426f666e2

View File

@ -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
})
})
));