Compare commits

...

1 Commits

Author SHA1 Message Date
065a9002a0 fix(storage): use missing cache driver options
All checks were successful
arcad/edge/pipeline/head This commit looks good
2023-12-01 15:20:12 +01:00

View File

@ -72,6 +72,8 @@ func NewBlobStore(store storage.BlobStore, funcs ...OptionFunc) (*BlobStore, err
cacheConfig := bigcache.DefaultConfig(options.CacheTTL)
cacheConfig.Logger = &cacheLogger{}
cacheConfig.HardMaxCacheSize = options.BlobCacheMaxMemorySize
cacheConfig.Shards = options.BlobCacheShards
contentCache, err := bigcache.New(context.Background(), cacheConfig)
if err != nil {