[tor-commits] [sbws/master] Generate bw file filtering results

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


commit fd902af15c68a88f4993bd9e3da2beed183c5f8b
Author: juga0 <juga at riseup.net>
Date:   Wed Sep 5 12:45:04 2018 +0000

    Generate bw file filtering results
---
 sbws/core/generate.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sbws/core/generate.py b/sbws/core/generate.py
index 20ccbfe..6d91690 100644
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@ -93,7 +93,10 @@ def main(args, conf):
     bw_file = V3BWFile.from_results(results, state_fpath, args.scale_constant,
                                     scaling_method,
                                     torflow_cap=args.torflow_bw_margin,
-                                    torflow_round_digs=args.torflow_round_digs)
+                                    torflow_round_digs=args.torflow_round_digs,
+                                    secs_recent=args.secs_recent,
+                                    secs_away=args.secs_away,
+                                    min_num=args.min_num)
     output = args.output or \
         conf.getpath('paths', 'v3bw_fname').format(now_fname())
     bw_file.write(output)





More information about the tor-commits mailing list