mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-14 02:00:37 +08:00
Chore: increase cacheByDefault from 3min to 10min
This commit is contained in:
parent
4ae1394feb
commit
cb22b38a95
@ -122,7 +122,7 @@ setGlobalDispatcher(agent.compose(
|
|||||||
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 * 100 // 100 MiB
|
maxEntrySize: 1024 * 1024 * 100 // 100 MiB
|
||||||
}),
|
}),
|
||||||
cacheByDefault: 180 // 3 minutes
|
cacheByDefault: 600 // 10 minutes
|
||||||
})
|
})
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user