Skip to content

Commit 60304a9

Browse files
committed
updated ttlScaling
1 parent db19a04 commit 60304a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/downloader/downloader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var (
4949
rttMinEstimate = 2 * time.Second // Minimum round-trip time to target for download requests
5050
rttMaxEstimate = 120 * time.Second // Maximum round-trip time to target for download requests
5151
rttMinConfidence = 0.1 // Worse confidence factor in our estimated RTT value
52-
ttlScaling = 3 // Constant scaling factor for RTT -> TTL conversion
52+
ttlScaling = 30 // Constant scaling factor for RTT -> TTL conversion
5353
ttlLimit = 10 * time.Minute // Maximum TTL allowance to prevent reaching crazy timeouts
5454

5555
qosTuningPeers = 5 // Number of peers to tune based on (best peers)

0 commit comments

Comments
 (0)