Chore: increase cacheByDefault from 3min to 10min

This commit is contained in:
SukkaW 2025-08-10 15:50:07 +08:00
parent 4ae1394feb
commit cb22b38a95

View File

@ -122,7 +122,7 @@ setGlobalDispatcher(agent.compose(
location: path.join(CACHE_DIR, 'undici-better-sqlite3-cache-store.db'),
maxEntrySize: 1024 * 1024 * 100 // 100 MiB
}),
cacheByDefault: 180 // 3 minutes
cacheByDefault: 600 // 10 minutes
})
));