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

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-11-18 16:04:09 +03:00 committed by Alex Vanin
parent 7ba95dd5fc
commit d485a5967d
4 changed files with 18 additions and 6 deletions

View file

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