[tor-commits] [sbws/master] Use observed bw methods to init V3BWLine

juga at torproject.org juga at torproject.org
Tue Sep 18 09:26:11 UTC 2018


commit e64ecd47e9ddd1e5eaf68a608a4989e1554626b3
Author: juga0 <juga at riseup.net>
Date:   Fri Aug 31 10:59:09 2018 +0000

    Use observed bw methods to init V3BWLine
---
 sbws/lib/v3bwfile.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 28be1a9..4756e5e 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -264,6 +264,10 @@ class V3BWLine(object):
             kwargs['bw_bs_mean'] = cls.bw_bs_mean_from_results(success_results)
             kwargs['bw_bs_median'] = cls.bw_bs_median_from_results(
                 success_results)
+            kwargs['desc_obs_bw_bs_last'] = \
+                cls.desc_obs_bw_bs_last_from_results(success_results)
+            kwargs['desc_obs_bw_bs_mean'] = \
+                cls.desc_obs_bw_bs_mean_from_results(success_results)
             bwl = cls(node_id, bw, **kwargs)
             return bwl
         return None





More information about the tor-commits mailing list