[#184] Use SDK client cache in object.Search
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
7ba95dd5fc
commit
d485a5967d
4 changed files with 18 additions and 6 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue