From 177f2398a5fc02d1ffe74dc8f9a4219beb93d256 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sun, 14 Aug 2011 14:45:54 +0000 Subject: [PATCH] (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. --- libtransmission/announcer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libtransmission/announcer.c b/libtransmission/announcer.c index 241514fd9..9e148ebe8 100644 --- a/libtransmission/announcer.c +++ b/libtransmission/announcer.c @@ -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;