mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
speed tweaks based on whitty's feedback
This commit is contained in:
parent
4f1837c891
commit
332019593d
1 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ enum
|
|||
RECHOKE_PERIOD_MSEC = (1000),
|
||||
|
||||
/* how frequently to decide which peers live and die */
|
||||
RECONNECT_PERIOD_MSEC = (6 * 1000),
|
||||
RECONNECT_PERIOD_MSEC = (2 * 1000),
|
||||
|
||||
/* how frequently to refill peers' request lists */
|
||||
REFILL_PERIOD_MSEC = 666,
|
||||
|
@ -97,11 +97,11 @@ enum
|
|||
|
||||
/* how many peers to unchoke per-torrent. */
|
||||
/* FIXME: make this user-configurable? */
|
||||
NUM_UNCHOKED_PEERS_PER_TORRENT = 10, /* arbitrary */
|
||||
NUM_UNCHOKED_PEERS_PER_TORRENT = 16, /* arbitrary */
|
||||
|
||||
/* set this too high and there will be a lot of churn.
|
||||
* set it too low and you'll get peers too slowly */
|
||||
MAX_RECONNECTIONS_PER_PULSE = 3,
|
||||
MAX_RECONNECTIONS_PER_PULSE = 2,
|
||||
|
||||
/* corresponds to ut_pex's added.f flags */
|
||||
ADDED_F_ENCRYPTION_FLAG = 1,
|
||||
|
|
Loading…
Reference in a new issue