1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 14:10:34 +00:00

more test code to address "router death". Based on maxintech's feedback in the forums, try making the peer manager's reconnect intervals and volume more like 1.00

This commit is contained in:
Charles Kerr 2008-01-17 03:43:08 +00:00
parent 3f69befc1b
commit 52c3243b4b

View file

@ -87,14 +87,14 @@ enum
MAX_UPLOAD_IDLE_SECS = (60 * 10),
/* how frequently to decide which peers live and die */
RECONNECT_PERIOD_MSEC = (3 * 1000),
RECONNECT_PERIOD_MSEC = (1000),
/* max # of peers to ask fer per torrent per reconnect pulse */
MAX_RECONNECTIONS_PER_PULSE = 4,
MAX_RECONNECTIONS_PER_PULSE = 1,
/* max number of peers to ask for per second overall.
* this throttle is to avoid overloading the router */
MAX_CONNECTIONS_PER_SECOND = 16,
MAX_CONNECTIONS_PER_SECOND = 12,
/* corresponds to ut_pex's added.f flags */
ADDED_F_ENCRYPTION_FLAG = 1,