forked from TrueCloudLab/frostfs-node
[#2165] services/tree: Allow to set custom synchronization interval
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
6a4e5e6f0a
commit
d3054e577a
6 changed files with 37 additions and 7 deletions
|
@ -35,6 +35,7 @@ NEOFS_TREE_CACHE_SIZE=15
|
|||
NEOFS_TREE_REPLICATION_CHANNEL_CAPACITY=32
|
||||
NEOFS_TREE_REPLICATION_WORKER_COUNT=32
|
||||
NEOFS_TREE_REPLICATION_TIMEOUT=5s
|
||||
NEOFS_TREE_SYNC_INTERVAL=1h
|
||||
|
||||
# gRPC section
|
||||
## 0 server
|
||||
|
|
|
@ -80,7 +80,8 @@
|
|||
"cache_size": 15,
|
||||
"replication_channel_capacity": 32,
|
||||
"replication_worker_count": 32,
|
||||
"replication_timeout": "5s"
|
||||
"replication_timeout": "5s",
|
||||
"sync_interval": "1h"
|
||||
},
|
||||
"control": {
|
||||
"authorized_keys": [
|
||||
|
|
|
@ -65,6 +65,7 @@ tree:
|
|||
replication_worker_count: 32
|
||||
replication_channel_capacity: 32
|
||||
replication_timeout: 5s
|
||||
sync_interval: 1h
|
||||
|
||||
control:
|
||||
authorized_keys: # list of hex-encoded public keys that have rights to use the Control Service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue