[#184] Use SDK client cache in object.Rangehash

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-11-18 16:04:59 +03:00 committed by Alex Vanin
parent f85e88c4f8
commit e8fe07edd0
4 changed files with 17 additions and 5 deletions

View file

@ -317,6 +317,7 @@ func initObjectService(c *cfg) {
sRangeHash := rangehashsvc.NewService(
rangehashsvc.WithKeyStorage(keyStorage),
rangehashsvc.WithClientCache(clientCache),
rangehashsvc.WithLocalStorage(ls),
rangehashsvc.WithContainerSource(c.cfgObject.cnrStorage),
rangehashsvc.WithNetworkMapSource(c.cfgObject.netMapStorage),