[tor-commits] [sbws/master] Log when there are no recent results

juga at torproject.org juga at torproject.org
Tue Oct 16 13:04:44 UTC 2018


commit 3d42c902e99767d40fd6efd89cecac4da3eb06c0
Author: juga0 <juga at riseup.net>
Date:   Mon Oct 15 10:20:48 2018 +0000

    Log when there are no recent results
---
 sbws/lib/v3bwfile.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index f0cd64a..be79885 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -287,6 +287,8 @@ class V3BWLine(object):
                 return None
             results_recent = cls.results_recent_than(results_away, secs_recent)
             if not results_recent:
+                log.debug("There are no results that are more recent than {}"
+                          " secs".format(secs_recent))
                 return None
             # the most recent should be the last
             kwargs['desc_avg_bw_bs'] = \





More information about the tor-commits mailing list