1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

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

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,