Changeset 12334


Ignore:
Timestamp:
Apr 7, 2011, 8:00:26 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) use get_next_scrape_time() inside the scrape error handler.

get_next_scrape_time() was introduced in r12297. The rationale is that by rounding all scrape times to their nearest 10th second, they will tend to occur in batches and improve multiscrape.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r12333 r12334  
    11841184
    11851185    /* schedule a rescrape */
    1186     interval = getRetryInterval( tier->currentTracker );
     1186    interval = get_next_scrape_time( getRetryInterval( tier->currentTracker ) );
    11871187    dbgmsg( tier, "Retrying scrape in %d seconds.", interval );
    11881188    tr_torinf( tier->tor, "Retrying scrape in %d seconds.", interval );
Note: See TracChangeset for help on using the changeset viewer.