revert one of last checkin's changes to better handle low peer situations. Thanks to SoftwareElves for the helpful explanation.

This commit is contained in:
Charles Kerr 2007-06-29 06:03:54 +00:00
parent f0950d7390
commit ab191885b5
1 changed files with 1 additions and 1 deletions

View File

@ -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