[tor-commits] [sbws/master] new: v3bwfile: Add note about not resetting counters

juga at torproject.org juga at torproject.org
Thu Mar 21 18:30:42 UTC 2019


commit e8f7d9de0be74a3e9332d32d7eb9c3aa560180ce
Author: juga0 <juga at riseup.net>
Date:   Wed Mar 13 13:49:26 2019 +0000

    new: v3bwfile: Add note about not resetting counters
---
 sbws/lib/v3bwfile.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 4788840..048f1b3 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -44,6 +44,10 @@ STATS_KEYVALUES = ['number_eligible_relays', 'minimum_number_eligible_relays',
                    'number_consensus_relays', 'percent_eligible_relays',
                    'minimum_percent_eligible_relays']
 # Added in #29591
+# NOTE: recent_consensus_count, recent_priority_list_count,
+# recent_measurement_attempt_count and recent_priority_relay_count
+# are not reset when the scanner is stop.
+# They will accumulate the values since the scanner was ever started.
 BW_HEADER_KEYVALUES_MONITOR = [
     # 1.1 header: the number of different consensuses, that sbws has seen,
     # since the last 5 days





More information about the tor-commits mailing list