Browse Source

Lower path use bias thresholds.

I noticed bad wifi networks can have low use success rates.
Mike Perry 12 years ago
parent
commit
a99ebaf4c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/circuitbuild.c

+ 2 - 2
src/or/circuitbuild.c

@@ -1222,7 +1222,7 @@ pathbias_get_min_use(const or_options_t *options)
 static double
 static double
 pathbias_get_notice_use_rate(const or_options_t *options)
 pathbias_get_notice_use_rate(const or_options_t *options)
 {
 {
-#define DFLT_PATH_BIAS_NOTICE_USE_PCT 90
+#define DFLT_PATH_BIAS_NOTICE_USE_PCT 80
   if (options->PathBiasNoticeUseRate >= 0.0)
   if (options->PathBiasNoticeUseRate >= 0.0)
     return options->PathBiasNoticeUseRate;
     return options->PathBiasNoticeUseRate;
   else
   else
@@ -1238,7 +1238,7 @@ pathbias_get_notice_use_rate(const or_options_t *options)
 double
 double
 pathbias_get_extreme_use_rate(const or_options_t *options)
 pathbias_get_extreme_use_rate(const or_options_t *options)
 {
 {
-#define DFLT_PATH_BIAS_EXTREME_USE_PCT 70
+#define DFLT_PATH_BIAS_EXTREME_USE_PCT 60
   if (options->PathBiasExtremeUseRate >= 0.0)
   if (options->PathBiasExtremeUseRate >= 0.0)
     return options->PathBiasExtremeUseRate;
     return options->PathBiasExtremeUseRate;
   else
   else