drive the throttle even lower.. max of 16 connections per second.

This commit is contained in:
Charles Kerr 2008-01-15 06:02:47 +00:00
parent 69a6978fca
commit ca70ef18bb
1 changed files with 2 additions and 2 deletions

View File

@ -90,11 +90,11 @@ enum
RECONNECT_PERIOD_MSEC = (2 * 1000),
/* max # of peers to ask fer per torrent per reconnect pulse */
MAX_RECONNECTIONS_PER_PULSE = 8,
MAX_RECONNECTIONS_PER_PULSE = 4,
/* max number of peers to ask for per second overall.
* this throttle is to avoid overloading the router */
MAX_CONNECTIONS_PER_SECOND = 32,
MAX_CONNECTIONS_PER_SECOND = 16,
/* corresponds to ut_pex's added.f flags */
ADDED_F_ENCRYPTION_FLAG = 1,