Changeset 1188


Ignore:
Timestamp:
Dec 11, 2006, 4:15:53 PM (15 years ago)
Author:
livings124
Message:

use random offset for unreachable trackers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multitracker/libtransmission/tracker.c

    r1187 r1188  
    223223    now = tr_date();
    224224
    225     /* Unreachable tracker, try 10 seconds before trying again */
     225    /* Unreachable tracker, wait 10 seconds + random value before trying again */
    226226    if( tc->lastAttempt == TC_ATTEMPT_NOREACH &&
    227         now < tc->dateTry + 10000 )
     227        now < tc->dateTry + tc->randOffset + 10000 )
    228228    {
    229229        return 0;
Note: See TracChangeset for help on using the changeset viewer.