From a0fae0443f67028a93afc0e05ed5deb4116bb94c Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 26 Jul 2022 12:47:19 +0300 Subject: [PATCH] [#1627] node: Add missing tree service to the config files Signed-off-by: Pavel Karpy --- config/example/node.env | 6 ++++++ config/example/node.json | 6 ++++++ config/example/node.yaml | 8 ++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/config/example/node.env b/config/example/node.env index d9a2cd51..8a018d1c 100644 --- a/config/example/node.env +++ b/config/example/node.env @@ -29,6 +29,12 @@ NEOFS_NODE_NOTIFICATION_CERTIFICATE=/cert/path NEOFS_NODE_NOTIFICATION_KEY=/key/path NEOFS_NODE_NOTIFICATION_CA=/ca/path +# Tree service section +NEOFS_TREE_ENABLED=true +NEOFS_TREE_CACHE_SIZE=15 +NEOFS_TREE_REPLICATION_CHANNEL_CAPACITY=32 +NEOFS_TREE_REPLICATION_WORKER_COUNT=32 + # gRPC section ## 0 server NEOFS_GRPC_0_ENDPOINT=s01.neofs.devenv:8080 diff --git a/config/example/node.json b/config/example/node.json index ed0ffbb5..53c4aaa6 100644 --- a/config/example/node.json +++ b/config/example/node.json @@ -75,6 +75,12 @@ } } }, + "tree": { + "enabled": true, + "cache_size": 15, + "replication_channel_capacity": 32, + "replication_worker_count": 32 + }, "control": { "authorized_keys": [ "035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11", diff --git a/config/example/node.yaml b/config/example/node.yaml index cf01823e..7fbd88d2 100644 --- a/config/example/node.yaml +++ b/config/example/node.yaml @@ -60,10 +60,10 @@ grpc: use_insecure_crypto: true # allow using insecure ciphers with TLS 1.2 tree: - enabled: false - cache_size: 10 - replication_worker_count: 64 - replication_channel_capacity: 64 + enabled: true + cache_size: 15 + replication_worker_count: 32 + replication_channel_capacity: 32 control: authorized_keys: # list of hex-encoded public keys that have rights to use the Control Service