mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +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:
parent
a9e5fff2e6
commit
c4f15263a0
1 changed files with 2 additions and 2 deletions
|
@ -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? */
|
||||
|
|
Loading…
Reference in a new issue