1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

since many people seem to be having a hard time holding onto good peers, be a little more lenient on how quickly we hang up on peers that have transferred piece data with us.

This commit is contained in:
Charles Kerr 2007-11-14 05:02:03 +00:00
parent a9e5fff2e6
commit c4f15263a0

View file

@ -60,10 +60,10 @@ enum
MAX_CONNECTED_PEERS_PER_TORRENT = 60,
/* when many peers are available, keep idle ones this long */
MIN_UPLOAD_IDLE_SECS = 60,
MIN_UPLOAD_IDLE_SECS = (60 * 3),
/* when few peers are available, keep idle ones this long */
MAX_UPLOAD_IDLE_SECS = 240,
MAX_UPLOAD_IDLE_SECS = (60 * 10),
/* how many peers to unchoke per-torrent. */
/* FIXME: make this user-configurable? */