Check cached sources with upstream after the cache TTL (closes #69) (#350)
check / check (push) Canceled after 0s
check / check (push) Canceled after 0s
This commit was merged in pull request #350.
This commit is contained in:
1 parent
1379497897
commit
e34463acf8
28 files changed
+1689
-269
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user