frostfs-node/cmd/neofs-node/config/engine/shard/writecache
Leonard Lyubich 368e280413 [#776] cmd/node: Configure write-cache size limit
Add `size_limit` config value to write-cache section. Add `SizeLimit` method
of `writecache.Config` type. Pass its value to `WithMaxCacheSize` option on
app construction.

Reflect config update in examples. Cover new value in unit test.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-15 18:07:36 +03:00
..
config.go [#776] cmd/node: Configure write-cache size limit 2021-09-15 18:07:36 +03:00