[tor-commits] [sbws/master] Add at which times should v3bw files be generated

pastly at torproject.org pastly at torproject.org
Thu Aug 9 14:21:19 UTC 2018


commit 92135a7404b71a7fa07bf7f7ecbf3c0a85ce9f85
Author: juga0 <juga at riseup.net>
Date:   Mon Jul 16 02:31:04 2018 +0000

    Add at which times should v3bw files be generated
---
 sbws/core/generate.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sbws/core/generate.py b/sbws/core/generate.py
index c0e7c8b..f952fbc 100644
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@ -12,7 +12,12 @@ log = logging.getLogger(__name__)
 def gen_parser(sub):
     d = 'Generate a v3bw file based on recent results. A v3bw file is the '\
         'file Tor directory authorities want to read and base their '\
-        'bandwidth votes on.'
+        'bandwidth votes on.' \
+        'This file should be generated every hour at any minute, except ' \
+        'between 45 and 55 minutes past the hour because Tor read this file '\
+        ' at minute 50 and except ' \
+        'between 15 and 25 minutes past the hour because Tor read this file '\
+        ' at minute 20 during a consensus failure.'
     p = sub.add_parser('generate', description=d,
                        formatter_class=ArgumentDefaultsHelpFormatter)
     p.add_argument('--output', default=None, type=str,





More information about the tor-commits mailing list