[#1627] node: Add missing tree service to the config files

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-07-26 12:47:19 +03:00 committed by fyrchik
parent 54fe7667fb
commit a0fae0443f
3 changed files with 16 additions and 4 deletions

View file

@ -29,6 +29,12 @@ NEOFS_NODE_NOTIFICATION_CERTIFICATE=/cert/path
NEOFS_NODE_NOTIFICATION_KEY=/key/path NEOFS_NODE_NOTIFICATION_KEY=/key/path
NEOFS_NODE_NOTIFICATION_CA=/ca/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 # gRPC section
## 0 server ## 0 server
NEOFS_GRPC_0_ENDPOINT=s01.neofs.devenv:8080 NEOFS_GRPC_0_ENDPOINT=s01.neofs.devenv:8080

View file

@ -75,6 +75,12 @@
} }
} }
}, },
"tree": {
"enabled": true,
"cache_size": 15,
"replication_channel_capacity": 32,
"replication_worker_count": 32
},
"control": { "control": {
"authorized_keys": [ "authorized_keys": [
"035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11", "035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11",

View file

@ -60,10 +60,10 @@ grpc:
use_insecure_crypto: true # allow using insecure ciphers with TLS 1.2 use_insecure_crypto: true # allow using insecure ciphers with TLS 1.2
tree: tree:
enabled: false enabled: true
cache_size: 10 cache_size: 15
replication_worker_count: 64 replication_worker_count: 32
replication_channel_capacity: 64 replication_channel_capacity: 32
control: control:
authorized_keys: # list of hex-encoded public keys that have rights to use the Control Service authorized_keys: # list of hex-encoded public keys that have rights to use the Control Service