[#493] cmd/node: Add policer section to config

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-06-02 15:23:41 +03:00 committed by Alex Vanin
parent 27b4781e95
commit 8c96494da0
5 changed files with 67 additions and 0 deletions

View file

@ -41,6 +41,9 @@ NEOFS_MAINCHAIN_RPC_ENDPOINT=https://rpc1.n3.nspcc.ru:30341 https://rpc2.n3.nspc
# API Client section
NEOFS_APICLIENT_DIAL_TIMEOUT=15s
# Policer section
NEOFS_POLICER_HEAD_TIMEOUT=15s
# Storage engine section
NEOFS_STORAGE_SHARD_NUM=2
## 0 shard

View file

@ -61,6 +61,9 @@
"apiclient": {
"dial_timeout": "15s"
},
"policer": {
"head_timeout": "15s"
},
"storage": {
"shard_num": 2,
"shard": {

View file

@ -54,6 +54,9 @@ mainchain:
apiclient:
dial_timeout: 15s
policer:
head_timeout: 15s
storage:
shard_num: 2
shard: