fix(storage): use missing cache driver options
All checks were successful
arcad/edge/pipeline/head This commit looks good
All checks were successful
arcad/edge/pipeline/head This commit looks good
This commit is contained in:
parent
83a1e89665
commit
065a9002a0
2
pkg/storage/driver/cache/blob_store.go
vendored
2
pkg/storage/driver/cache/blob_store.go
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user