Skip to content

Commit

Permalink
[#xxx] node: Increase default replication timeout to 1 minute
Browse files Browse the repository at this point in the history
Storage node's replication timeout usually not carefully tuned and in
most cases remains the default. Previously it was 5s, which might not be
enough for "highly distributed" networks (such as TestNet or MainNet).

Increase `replicator.put_timeout` config default to `1m`.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
  • Loading branch information
cthulhu-rider committed Jan 31, 2023
1 parent 7e8fee2 commit fec0867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/neofs-node/config/replicator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
subsection = "replicator"

// PutTimeoutDefault is a default timeout of object put request in replicator.
PutTimeoutDefault = 5 * time.Second
PutTimeoutDefault = time.Minute
)

// PutTimeout returns the value of "put_timeout" config parameter
Expand Down

0 comments on commit fec0867

Please sign in to comment.