Don't include skipped trackers to report

This commit is contained in:
shortcutme 2018-08-26 22:56:46 +02:00
parent b6d11d6be3
commit 92db3878cf
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -99,6 +99,8 @@ class SiteAnnouncer(object):
gevent.joinall(threads, timeout=20) # Wait for announce finish
for thread in threads:
if thread.value is None:
continue
if thread.value is not False:
if thread.value > 1.0: # Takes more than 1 second to announce
slow.append("%.2fs %s" % (thread.value, thread.tracker))