[#1278] neofs-node: Cache IRFetcher
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
be6ae3c066
commit
e4a8ed589b
2 changed files with 37 additions and 1 deletions
|
@ -357,7 +357,7 @@ func initObjectService(c *cfg) {
|
|||
|
||||
aclSvc := v2.New(
|
||||
v2.WithLogger(c.log),
|
||||
v2.WithIRFetcher(irFetcher),
|
||||
v2.WithIRFetcher(newCachedIRFetcher(irFetcher)),
|
||||
v2.WithNetmapSource(c.netMapSource),
|
||||
v2.WithContainerSource(
|
||||
c.cfgObject.cnrSource,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue