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:
parent
3f69befc1b
commit
52c3243b4b
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue