(libT) apply a line from #1181's fix that was accidentally applied to the 1.3x branch instead of trunk. both are in sync now wrt #1181.
This commit is contained in:
parent
27e0beb6e3
commit
85edfe35d5
|
@ -404,7 +404,8 @@ onTrackerResponse( tr_session * session,
|
|||
const int interval = t->announceIntervalSec + t->randOffset;
|
||||
const time_t now = time ( NULL );
|
||||
dbgmsg( t->name, "request succeeded. reannouncing in %d seconds", interval );
|
||||
t->scrapeAt = now + t->scrapeIntervalSec + t->randOffset;
|
||||
if( t->scrapeAt <= now )
|
||||
t->scrapeAt = now + t->scrapeIntervalSec + t->randOffset;
|
||||
t->reannounceAt = now + interval;
|
||||
t->manualAnnounceAllowedAt = now + t->announceMinIntervalSec;
|
||||
|
||||
|
|
Loading…
Reference in New Issue