mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
when we haven't had any application requests lately, don't bother
logging when we have expired a bunch of descriptors. svn:r15074
This commit is contained in:
parent
3bb5d3ba6d
commit
1ca2ead8c4
1 changed files with 2 additions and 1 deletions
|
@ -641,7 +641,8 @@ directory_info_has_arrived(time_t now, int from_cache)
|
||||||
or_options_t *options = get_options();
|
or_options_t *options = get_options();
|
||||||
|
|
||||||
if (!router_have_minimum_dir_info()) {
|
if (!router_have_minimum_dir_info()) {
|
||||||
log(LOG_NOTICE, LD_DIR,
|
quiet = directory_too_idle_to_fetch_descriptors(options, now);
|
||||||
|
log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
|
||||||
"I learned some more directory information, but not enough to "
|
"I learned some more directory information, but not enough to "
|
||||||
"build a circuit: %s", get_dir_info_status_string());
|
"build a circuit: %s", get_dir_info_status_string());
|
||||||
update_router_descriptor_downloads(now);
|
update_router_descriptor_downloads(now);
|
||||||
|
|
Loading…
Add table
Reference in a new issue