[tor-commits] [sbws/master] Add constants for the min num results

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


commit 0bca458360746dfe3f63213c8a44355e44b50f40
Author: juga0 <juga at riseup.net>
Date:   Wed Sep 5 12:11:23 2018 +0000

    Add constants for the min num results
    
    and the min num of secs that the results must be away from each
    other.
---
 sbws/globals.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbws/globals.py b/sbws/globals.py
index 7060c1a..52c31bf 100644
--- a/sbws/globals.py
+++ b/sbws/globals.py
@@ -38,6 +38,8 @@ TORFLOW_OBS_LAST = 0
 TORFLOW_OBS_MEAN = 1
 TORFLOW_OBS_DECAYING = 3
 TORFLOW_ROUND_DIG = 3
+DAY_SECS = 86400
+NUM_MIN_RESULTS = 2
 
 BW_LINE_SIZE = 510
 





More information about the tor-commits mailing list