From ab191885b586abfc5bbb9f6e045c7e8285bfc4b7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 29 Jun 2007 06:03:54 +0000 Subject: [PATCH] revert one of last checkin's changes to better handle low peer situations. Thanks to SoftwareElves for the helpful explanation. --- libtransmission/peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/peer.c b/libtransmission/peer.c index d43af1a1a..f4edab469 100644 --- a/libtransmission/peer.c +++ b/libtransmission/peer.c @@ -70,7 +70,7 @@ static const int SWIFT_REFRESH_INTERVAL_SEC = 5; ****** *****/ -#define PERCENT_PEER_WANTED 75 /* Percent before we start relax peers min activeness */ +#define PERCENT_PEER_WANTED 25 /* Percent before we start relax peers min activeness */ #define MIN_UPLOAD_IDLE 60000 /* In high peer situations we wait only 1 min until dropping peers for idling */ #define MAX_UPLOAD_IDLE 240000 /* In low peer situations we wait the