mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Tightrn the Phishing Hosts & Add default fetch cache
This commit is contained in:
@@ -120,7 +120,8 @@ setGlobalDispatcher(agent.compose(
|
||||
store: new BetterSqlite3CacheStore({
|
||||
location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'),
|
||||
maxEntrySize: 1024 * 1024 * 100 // 100 MiB
|
||||
})
|
||||
}),
|
||||
cacheByDefault: 180 // 3 minutes
|
||||
})
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user