[#222] Set write cache specific config on application level

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-12-01 19:14:42 +03:00
parent af2719689d
commit 3d77fdb347
3 changed files with 5 additions and 5 deletions

View file

@ -531,6 +531,8 @@ func initShardOptions(c *cfg) {
shard.WithWriteCache(useCache),
shard.WithWriteCacheOptions(
blobstor.WithRootPath(writeCachePath),
blobstor.WithBlobovniczaShallowDepth(0),
blobstor.WithBlobovniczaShallowWidth(1),
),
})