[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [doctor/master] Don't notify when HSDir flag counts are odd



commit db1285615a3df6564a7182c84d7edfc684991163
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Fri Feb 16 16:52:23 2018 -0800

    Don't notify when HSDir flag counts are odd
    
    Suppression requested by Roger...
    
      https://lists.torproject.org/pipermail/tor-dev/2018-February/012943.html
---
 consensus_health_checker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index e91e292..5554eee 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -631,7 +631,7 @@ def has_similar_flag_counts(latest_consensus, consensuses, votes):
         authority_flag_count[flag] = authority_flag_count.setdefault(flag, 0) + 1
 
     for flag, count in flag_count.items():
-      if flag == 'BadExit':
+      if flag == 'BadExit' or flag == 'HSDir':
         continue
 
       vote_count = authority_flag_count.get(flag, 0)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits