forked from TrueCloudLab/frostfs-node
[#43] cmd/neofs-node: Fetch max object size from config
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
e158497560
commit
13080aa7a1
2 changed files with 10 additions and 2 deletions
|
@ -160,7 +160,7 @@ func initObjectService(c *cfg) {
|
|||
|
||||
sPut := putsvc.NewService(
|
||||
putsvc.WithKeyStorage(keyStorage),
|
||||
putsvc.WithMaxSizeSource(&maxSzSrc{3}),
|
||||
putsvc.WithMaxSizeSource(&maxSzSrc{c.cfgObject.maxObjectSize}),
|
||||
putsvc.WithLocalStorage(ls),
|
||||
putsvc.WithContainerSource(c.cfgObject.cnrStorage),
|
||||
putsvc.WithNetworkMapSource(c.cfgObject.netMapStorage),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue