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:
parent
a7a9c2b12e
commit
177f2398a5
1 changed files with 3 additions and 0 deletions
|
@ -1132,6 +1132,9 @@ on_announce_done( const tr_announce_response * response,
|
||||||
|
|
||||||
if( got_scrape_info )
|
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->scrapeAt = get_next_scrape_time( announcer->session, tier, tier->scrapeIntervalSec );
|
||||||
tier->lastScrapeTime = now;
|
tier->lastScrapeTime = now;
|
||||||
tier->lastScrapeSucceeded = true;
|
tier->lastScrapeSucceeded = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue