Don't increase request tracker number before actually sending it
This commit is contained in:
parent
92db3878cf
commit
b43a05b662
1 changed files with 0 additions and 1 deletions
|
@ -163,7 +163,6 @@ class SiteAnnouncer(object):
|
||||||
last_status = self.stats[tracker]["status"]
|
last_status = self.stats[tracker]["status"]
|
||||||
self.stats[tracker]["status"] = "announcing"
|
self.stats[tracker]["status"] = "announcing"
|
||||||
self.stats[tracker]["time_request"] = time.time()
|
self.stats[tracker]["time_request"] = time.time()
|
||||||
self.stats[tracker]["num_request"] += 1
|
|
||||||
if config.verbose:
|
if config.verbose:
|
||||||
self.site.log.debug("Tracker announcing to %s (mode: %s)" % (tracker, mode))
|
self.site.log.debug("Tracker announcing to %s (mode: %s)" % (tracker, mode))
|
||||||
if mode == "update":
|
if mode == "update":
|
||||||
|
|
Loading…
Reference in a new issue