1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-14 17:37:26 +00:00

fix: improve cache freshness fallback and proxy detection

This commit is contained in:
tw93
2026-02-07 17:48:55 +08:00
parent 9b25260efe
commit e6829b9a5d
10 changed files with 590 additions and 40 deletions

View File

@@ -16,6 +16,8 @@ const (
maxConcurrentOverview = 8
batchUpdateSize = 100
cacheModTimeGrace = 30 * time.Minute
cacheReuseWindow = 24 * time.Hour
staleCacheTTL = 3 * 24 * time.Hour
// Worker pool limits.
minWorkers = 16