From c819d6dca6fb9cf22af383caf632dff6ab9aaf11 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 15 Dec 2009 18:11:20 +0000 Subject: [PATCH] (trunk libT) #2671 "downloading from too many peers" -- address a smaller aspect of this ticket, by reducing the minimum number of blocks we request from a peer, as noted by jch's comment @ http://trac.transmissionbt.com/ticket/2671#comment:2 --- libtransmission/peer-msgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index 81d9d0ef1..814e1ed09 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -1714,7 +1714,7 @@ updateDesiredRequestCount( tr_peermsgs * msgs, uint64_t now ) int irate; int estimatedBlocksInPeriod; double rate; - const int floor = 16; + const int floor = 4; const int seconds = REQUEST_BUF_SECS; /* Get the rate limit we should use. -- 2.40.0