]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Lower the default path bias notice rate to 40%.
authorMike Perry <mikeperry-git@fscked.org>
Fri, 15 Jun 2012 04:15:08 +0000 (21:15 -0700)
committerMike Perry <mikeperry-git@fscked.org>
Fri, 15 Jun 2012 04:20:10 +0000 (21:20 -0700)
I saw 72% on a test run with 26 circuits. 70% might be a little close to the
line. That, or min_circs is too low and we need to be more patient. We still
need to test/simulate more.

src/or/circuitbuild.c

index 08ef56ffc85681dcee24c720294c7e03691c7e8a..01eeb14fe09bb5cb8f8b12eddf699e55473827fd 100644 (file)
@@ -2578,7 +2578,7 @@ pathbias_get_min_circs(const or_options_t *options)
 static double
 pathbias_get_notice_rate(const or_options_t *options)
 {
-#define DFLT_PATH_BIAS_NOTICE_PCT 70
+#define DFLT_PATH_BIAS_NOTICE_PCT 40
   if (options->PathBiasNoticeRate >= 0.0)
     return options->PathBiasNoticeRate;
   else