fix(storage): use missing cache driver options
All checks were successful
arcad/edge/pipeline/head This commit looks good

This commit is contained in:
wpetit 2023-12-01 15:20:12 +01:00
parent 83a1e89665
commit 065a9002a0

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 {