mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 09:10:35 +08:00
Chore: increate undici cache size to 100 MiB
This commit is contained in:
parent
d7ea0c9606
commit
b426f666e2
@ -112,7 +112,7 @@ setGlobalDispatcher(agent.compose(
|
|||||||
interceptors.cache({
|
interceptors.cache({
|
||||||
store: new BetterSqlite3CacheStore({
|
store: new BetterSqlite3CacheStore({
|
||||||
location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'),
|
location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'),
|
||||||
maxEntrySize: 1024 * 1024 * 50 // 50 MiB
|
maxEntrySize: 1024 * 1024 * 100 // 100 MiB
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
));
|
));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user