drive the throttle even lower.. max of 16 connections per second.
This commit is contained in:
parent
69a6978fca
commit
ca70ef18bb
|
@ -90,11 +90,11 @@ enum
|
||||||
RECONNECT_PERIOD_MSEC = (2 * 1000),
|
RECONNECT_PERIOD_MSEC = (2 * 1000),
|
||||||
|
|
||||||
/* max # of peers to ask fer per torrent per reconnect pulse */
|
/* 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.
|
/* max number of peers to ask for per second overall.
|
||||||
* this throttle is to avoid overloading the router */
|
* 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 */
|
/* corresponds to ut_pex's added.f flags */
|
||||||
ADDED_F_ENCRYPTION_FLAG = 1,
|
ADDED_F_ENCRYPTION_FLAG = 1,
|
||||||
|
|
Loading…
Reference in New Issue