mirror of
https://github.com/SukkaW/Surge.git
synced 2026-09-13 02:54:38 +08:00
Perf/Chore: increase cache store maxCount
This commit is contained in:
@@ -171,7 +171,7 @@ const agent = new Agent({
|
||||
store: new BetterSqlite3CacheStore({
|
||||
loose: true,
|
||||
location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'),
|
||||
maxCount: 128,
|
||||
maxCount: 256,
|
||||
maxEntrySize: 1024 * 1024 * 100, // 100 MiB
|
||||
revalidationRetention: 7 * 24 * 60 * 60 * 1000 // 7 days
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user