Tightrn the Phishing Hosts & Add default fetch cache

This commit is contained in:
SukkaW
2025-03-04 22:26:29 +08:00
parent b08570e1ac
commit c5b88362ef
2 changed files with 9 additions and 10 deletions

View File

@@ -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
})
));