Don't include skipped trackers to report
This commit is contained in:
parent
b6d11d6be3
commit
92db3878cf
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ class SiteAnnouncer(object):
|
||||||
gevent.joinall(threads, timeout=20) # Wait for announce finish
|
gevent.joinall(threads, timeout=20) # Wait for announce finish
|
||||||
|
|
||||||
for thread in threads:
|
for thread in threads:
|
||||||
|
if thread.value is None:
|
||||||
|
continue
|
||||||
if thread.value is not False:
|
if thread.value is not False:
|
||||||
if thread.value > 1.0: # Takes more than 1 second to announce
|
if thread.value > 1.0: # Takes more than 1 second to announce
|
||||||
slow.append("%.2fs %s" % (thread.value, thread.tracker))
|
slow.append("%.2fs %s" % (thread.value, thread.tracker))
|
||||||
|
|
Loading…
Reference in a new issue