frostfs-node/config/example
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
..
node.env [#776] cmd/node: Configure write-cache size limit 2021-09-15 18:07:36 +03:00
node.json [#776] cmd/node: Configure write-cache size limit 2021-09-15 18:07:36 +03:00
node.yaml [#776] cmd/node: Configure write-cache size limit 2021-09-15 18:07:36 +03:00
README.md [#730] node/config/morph: Add disable_cache 2021-08-03 09:40:10 +03:00

Examples of correct configuration file structures

Here are files in all supported formats and with all possible configuration values of NeoFS applications.

All parameters are correct, however, they are for informational purposes only. It is not recommended transferring these configs for real application launches.

Config files

  • Storage node
    • JSON: node.json
    • YAML: node.yaml

Environment variables

  • Storage node: node.env