Check cached sources with upstream after the cache TTL (closes #69) (#350)
check / check (push) Canceled after 0s

This commit was merged in pull request #350.
This commit is contained in:
clawbot committed 2026-11-11 13:37:15 +01:00
1 parent 1379497897
commit e34463acf8
28 files changed
+1689 -269

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ func newCache(lc fx.Lifecycle, params cacheParams) (*imgcache.Cache, error) {
cache, err := imgcache.NewCache(db, imgcache.Config{
StateDir: cfg.StateDir,
NegativeTTL: imgcache.DefaultNegativeTTL,
CacheTTL: imgcache.DefaultCacheTTL,
MaxBytes: maxBytes,
Logger: params.Logger.Get(),
}, params.MetricsRegistry)