diff options
author | Roger Dingledine <arma@torproject.org> | 2010-04-21 04:27:56 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-04-21 04:27:56 -0400 |
commit | 6952b445cc121148eed87a12536cec8522f7d136 (patch) | |
tree | c3013f478db65b96296ed7ae8f2db03215507d6b /src/or/main.c | |
parent | 4f307e038272e368cd307ffa5e31b568b0729c48 (diff) | |
download | tor-6952b445cc121148eed87a12536cec8522f7d136.tar.gz tor-6952b445cc121148eed87a12536cec8522f7d136.zip |
stop authority reachability check on startup
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/or/main.c b/src/or/main.c index 74075b6257..82f6e84a74 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -918,7 +918,7 @@ run_scheduled_events(time_t now) if (now % 10 == 0 && (authdir_mode_tests_reachability(options)) && !we_are_hibernating()) { /* try to determine reachability of the other Tor relays */ - dirserv_test_reachability(now, 0); + dirserv_test_reachability(now); } /** 1d. Periodically, we discount older stability information so that new @@ -1479,11 +1479,6 @@ do_main_loop(void) now = time(NULL); directory_info_has_arrived(now, 1); - if (authdir_mode_tests_reachability(get_options())) { - /* the directory is already here, run startup things */ - dirserv_test_reachability(now, 1); - } - if (server_mode(get_options())) { /* launch cpuworkers. Need to do this *after* we've read the onion key. */ cpu_init(); |