(trunk libT) #3329 "connection problems when downloading" -- raise MAX_CONNECTIONS_PER_SECOND up the higher value used in 1.93

This commit is contained in:
Charles Kerr 2010-06-26 17:54:19 +00:00
parent f22eac4709
commit e70ed9a2e8
1 changed files with 2 additions and 2 deletions

View File

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