diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2013-02-04 16:57:09 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2013-02-04 16:57:09 -0800 |
commit | a99ebaf4c798ceaee4f7a57067da12ec0b17b54f (patch) | |
tree | 4b5c0feb2a5d7786b3b9800b918bf282769db1e8 /src/or/circuitbuild.c | |
parent | 2c73fe5f5e8bce2f612e1bd60620f3bfbd1b847b (diff) | |
download | tor-a99ebaf4c798ceaee4f7a57067da12ec0b17b54f.tar.gz tor-a99ebaf4c798ceaee4f7a57067da12ec0b17b54f.zip |
Lower path use bias thresholds.
I noticed bad wifi networks can have low use success rates.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 05f9d76e7c..e94daca026 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1222,7 +1222,7 @@ pathbias_get_min_use(const or_options_t *options) static double 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) return options->PathBiasNoticeUseRate; else @@ -1238,7 +1238,7 @@ pathbias_get_notice_use_rate(const or_options_t *options) double 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) return options->PathBiasExtremeUseRate; else |