Changeset 3431


Ignore:
Timestamp:
Oct 16, 2007, 2:37:34 AM (14 years ago)
Author:
charles
Message:

tweak the weights that decide to reconnect to crappy peers less often.

File:
1 edited

Legend:

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

    r3429 r3431  
    16101610
    16111611        /* if we used this peer recently, give someone else a turn */
    1612         minWait = 60;
    1613         maxWait = minWait * 5;
     1612        minWait = 60; /* one minute */
     1613        maxWait = (60 * 10); /* ten minutes */
    16141614        wait = atom->numFails * 10;
    16151615        if( wait < minWait ) wait = minWait;
Note: See TracChangeset for help on using the changeset viewer.