Changeset 4010


Ignore:
Timestamp:
Nov 29, 2007, 2:56:31 AM (15 years ago)
Author:
charles
Message:

speed tweaks based on whitty's feedback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r3960 r4010  
    7575
    7676    /* how frequently to decide which peers live and die */
    77     RECONNECT_PERIOD_MSEC = (6 * 1000),
     77    RECONNECT_PERIOD_MSEC = (2 * 1000),
    7878
    7979    /* how frequently to refill peers' request lists */
     
    9898    /* how many peers to unchoke per-torrent. */
    9999    /* FIXME: make this user-configurable? */
    100     NUM_UNCHOKED_PEERS_PER_TORRENT = 10, /* arbitrary */
     100    NUM_UNCHOKED_PEERS_PER_TORRENT = 16, /* arbitrary */
    101101
    102102    /* set this too high and there will be a lot of churn.
    103103     * set it too low and you'll get peers too slowly */
    104     MAX_RECONNECTIONS_PER_PULSE = 3,
     104    MAX_RECONNECTIONS_PER_PULSE = 2,
    105105
    106106    /* corresponds to ut_pex's added.f flags */
Note: See TracChangeset for help on using the changeset viewer.