summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-14 04:33:59 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-14 04:33:59 +0000
commitae249fc5a377d1e088ec18b9ae1053f3eb9050aa (patch)
tree32969335837cd8511f9f0c1bd86223ad2e8ca891
parent84295f9f438241e2e7391acd71c7283ab5e3a473 (diff)
downloadtor-ae249fc5a377d1e088ec18b9ae1053f3eb9050aa.tar.gz
tor-ae249fc5a377d1e088ec18b9ae1053f3eb9050aa.zip
document the frequency for reachability testing by the
directory authorities. svn:r6014
-rw-r--r--src/or/router.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index d3264d3091..f32339bb77 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -620,6 +620,10 @@ consider_publishable_server(time_t now, int force)
* whether we already have a connection open -- but if <b>try_all</b>
* is 0, we want to load balance such that we only try a few connections
* per call.
+ *
+ * The load balancing is such that if we get called once every ten
+ * seconds, we will cycle through all the tests in 1280 seconds (a
+ * bit over 20 minutes).
*/
void
router_retry_connections(int testing_reachability, int try_all)