diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-07 08:30:40 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-07 08:33:23 -0500 |
commit | 4beb83095351b46dcc26e0475341d6d96ce80fc5 (patch) | |
tree | c7780369888d7c84bb7191be29c9975102a3d8a0 /src/or/dirserv.c | |
parent | b101f4e98ce811aee729c31f62ec5dd1cfe44e85 (diff) | |
download | tor-4beb83095351b46dcc26e0475341d6d96ce80fc5.tar.gz tor-4beb83095351b46dcc26e0475341d6d96ce80fc5.zip |
Split ROUTER_REQUIRED_MIN_BANDWIDTH into RELAY_ and BRIDGE_ variants
Also raise those minima from 20 to 75 and 50 respectively.
Closes ticket 13822.
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index d90619520b..fe8196c3a7 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1427,7 +1427,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl, /* The 12.5th percentile bandwidth is fast. */ fast_bandwidth_kb = find_nth_uint32(bandwidths_kb, n_active, n_active/8); /* (Now bandwidths is sorted.) */ - if (fast_bandwidth_kb < ROUTER_REQUIRED_MIN_BANDWIDTH/(2 * 1000)) + if (fast_bandwidth_kb < RELAY_REQUIRED_MIN_BANDWIDTH/(2 * 1000)) fast_bandwidth_kb = bandwidths_kb[n_active/4]; guard_bandwidth_including_exits_kb = third_quartile_uint32(bandwidths_kb, n_active); |