Ignore:
Timestamp:
Nov 25, 2007, 2:51:35 AM (15 years ago)
Author:
charles
Message:

increase the minimum grace interval between peer reconnect attempts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/libtransmission/peer-mgr.c

    r3949 r3954  
    17761776
    17771777        /* if we used this peer recently, give someone else a turn */
    1778         minWait = 10; /* ten seconds */
     1778        minWait = 60;
    17791779        maxWait = (60 * 20); /* twenty minutes */
    1780         wait = atom->numFails * 30; /* add 15 secs to the wait interval for each consecutive failure*/
     1780        wait = atom->numFails * 30; /* add 30 secs to the wait interval for each consecutive failure*/
    17811781        if( wait < minWait ) wait = minWait;
    17821782        if( wait > maxWait ) wait = maxWait;
Note: See TracChangeset for help on using the changeset viewer.