From 15f3c822c56665c01c1b5367c741dfc4d8be9383 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 30 Jun 2018 21:10:23 +1000 Subject: [PATCH] Assume connections have half the download bandwidth than calculated --- connection.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connection.go b/connection.go index 4195683e..6ff1835d 100644 --- a/connection.go +++ b/connection.go @@ -381,6 +381,8 @@ func (cn *connection) nominalMaxRequests() (ret int) { expectingTime := int64(cn.totalExpectingTime()) if expectingTime == 0 { expectingTime = math.MaxInt64 + } else { + expectingTime *= 2 } return int(clamp( 1, -- 2.50.0