fix(storage): use missing cache driver options
arcad/edge/pipeline/head This commit looks good
Details
arcad/edge/pipeline/head This commit looks good
Details
This commit is contained in:
parent
83a1e89665
commit
065a9002a0
|
@ -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