satellite/gracefulexit: RecvTimeout increased to 2h, so slow nodes stop receiving lot of fails and as a result DQ

Change-Id: Id4c8a394162ba368aeb573a927f825bf7250aa52
This commit is contained in:
Qweder93 2020-08-22 01:58:22 +03:00
parent bd5213f68b
commit 88ff8829a1
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ type Config struct {
MaxFailuresPerPiece int `help:"maximum number of transfer failures per piece." default:"5"`
OverallMaxFailuresPercentage int `help:"maximum percentage of transfer failures per node." default:"10"`
MaxInactiveTimeFrame time.Duration `help:"maximum inactive time frame of transfer activities per node." default:"168h"`
RecvTimeout time.Duration `help:"the minimum duration for receiving a stream from a storage node before timing out" default:"10m"`
RecvTimeout time.Duration `help:"the minimum duration for receiving a stream from a storage node before timing out" default:"2h"`
MaxOrderLimitSendCount int `help:"maximum number of order limits a satellite sends to a node before marking piece transfer failed" default:"10"`
NodeMinAgeInMonths int `help:"minimum age for a node on the network in order to initiate graceful exit" default:"6"`
}

View File

@ -242,7 +242,7 @@ contact.external-address: ""
# graceful-exit.overall-max-failures-percentage: 10
# the minimum duration for receiving a stream from a storage node before timing out
# graceful-exit.recv-timeout: 10m0s
# graceful-exit.recv-timeout: 2h0m0s
# path to the certificate chain for this identity
identity.cert-path: /root/.local/share/storj/identity/satellite/identity.cert