[or-cvs] document the frequency for reachability testing by the

arma at seul.org arma at seul.org
Tue Feb 14 04:34:01 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	router.c 
Log Message:
document the frequency for reachability testing by the
directory authorities.


Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -p -d -r1.245 -r1.246
--- router.c	13 Feb 2006 10:32:59 -0000	1.245
+++ router.c	14 Feb 2006 04:33:59 -0000	1.246
@@ -620,6 +620,10 @@ consider_publishable_server(time_t now, 
  * 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)



More information about the tor-commits mailing list