(trunk libT) #1791: debug message cleanup in tracker.c
This commit is contained in:
parent
eb538aa492
commit
e04fe5daaf
|
@ -685,16 +685,16 @@ onScrapeResponse( tr_session * session,
|
|||
if( 200 <= responseCode && responseCode <= 299 )
|
||||
{
|
||||
const int interval = t->scrapeIntervalSec + t->randOffset;
|
||||
dbgmsg( t->name, "request succeeded. rescraping in %d seconds",
|
||||
dbgmsg( t->name, "Request succeeded. Rescraping in %d seconds",
|
||||
interval );
|
||||
tr_ndbg( t->name, "request succeeded. rescraping in %d seconds",
|
||||
tr_ndbg( t->name, "Request succeeded. Rescraping in %d seconds",
|
||||
interval );
|
||||
t->scrapeAt = time( NULL ) + interval;
|
||||
}
|
||||
else if( 300 <= responseCode && responseCode <= 399 )
|
||||
{
|
||||
const int interval = 5;
|
||||
dbgmsg( t->name, "got a redirect. retrying in %d seconds", interval );
|
||||
dbgmsg( t->name, "Got a redirect. Retrying in %d seconds", interval );
|
||||
t->scrapeAt = time( NULL ) + interval;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue