1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 07:03:44 +00:00

(trunk libT) #4396 "Scrape requests not showing in logfile" -- when the announce response contains scrape information, add a log message saying that the next scrape has been rescheduled.

This commit is contained in:
Jordan Lee 2011-08-14 14:45:54 +00:00
parent a7a9c2b12e
commit 177f2398a5

View file

@ -1132,6 +1132,9 @@ on_announce_done( const tr_announce_response * response,
if( got_scrape_info )
{
tr_tordbg( tier->tor, "Announce response contained scrape info; "
"rescheduling next scrape to %d seconds from now.",
tier->scrapeIntervalSec );
tier->scrapeAt = get_next_scrape_time( announcer->session, tier, tier->scrapeIntervalSec );
tier->lastScrapeTime = now;
tier->lastScrapeSucceeded = true;