From e70ed9a2e8a07f4fe2689c65ec78c3f3119cb4ad Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 26 Jun 2010 17:54:19 +0000 Subject: [PATCH] (trunk libT) #3329 "connection problems when downloading" -- raise MAX_CONNECTIONS_PER_SECOND up the higher value used in 1.93 --- libtransmission/peer-mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index f7be7a377..a36bb9b14 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -63,8 +63,8 @@ enum MAX_UPLOAD_IDLE_SECS = ( 60 * 5 ), /* max number of peers to ask for per second overall. - * this throttle is to avoid overloading the router */ - MAX_CONNECTIONS_PER_SECOND = 8, + * this throttle is to avoid overloading the router */ + MAX_CONNECTIONS_PER_SECOND = 12, MAX_CONNECTIONS_PER_PULSE = (int)(MAX_CONNECTIONS_PER_SECOND * (RECONNECT_PERIOD_MSEC/1000.0)),