[tor-commits] [tor/master] For now, never disable any guards.

nickm at torproject.org nickm at torproject.org
Fri Jun 15 04:43:56 UTC 2012


commit 61a5730392fb83b78a45c06990a095fca67d7d61
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Wed Jun 13 16:37:43 2012 -0700

    For now, never disable any guards.
---
 src/or/circuitbuild.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 9969f7e..08ef56f 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2589,7 +2589,8 @@ pathbias_get_notice_rate(const or_options_t *options)
 static double
 pathbias_get_disable_rate(const or_options_t *options)
 {
-#define DFLT_PATH_BIAS_DISABLE_PCT 50
+// XXX: This needs tuning based on use + experimentation before we set it
+#define DFLT_PATH_BIAS_DISABLE_PCT 0
   if (options->PathBiasDisableRate >= 0.0)
     return options->PathBiasDisableRate;
   else





More information about the tor-commits mailing list