forked from TrueCloudLab/frostfs-node
[#2159] node: Add tree replication timeout configuration
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
edb1428248
commit
306609030a
10 changed files with 36 additions and 3 deletions
|
@ -37,6 +37,7 @@ func New(opts ...Option) *Service {
|
|||
s.containerCacheSize = defaultContainerCacheSize
|
||||
s.replicatorChannelCapacity = defaultReplicatorCapacity
|
||||
s.replicatorWorkerCount = defaultReplicatorWorkerCount
|
||||
s.replicatorTimeout = defaultReplicatorSendTimeout
|
||||
|
||||
for i := range opts {
|
||||
opts[i](&s.cfg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue