mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Perf: enable undici cache store's loose mode
This commit is contained in:
@@ -118,6 +118,7 @@ setGlobalDispatcher(agent.compose(
|
||||
}),
|
||||
interceptors.cache({
|
||||
store: new BetterSqlite3CacheStore({
|
||||
loose: true,
|
||||
location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'),
|
||||
maxEntrySize: 1024 * 1024 * 100 // 100 MiB
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user