frostfs-node/cmd/neofs-node/config/engine
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
..
shard [#776] cmd/node: Configure write-cache size limit 2021-09-15 18:07:36 +03:00
config.go [#493] node/config: Implement sections of local object storage 2021-06-02 09:54:00 +03:00
config_test.go [#776] cmd/node: Configure write-cache size limit 2021-09-15 18:07:36 +03:00