mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'arma/feature6760'
This commit is contained in:
commit
978a2251f3
6
changes/feature6760
Normal file
6
changes/feature6760
Normal file
@ -0,0 +1,6 @@
|
||||
o Minor features:
|
||||
- Don't log "I learned some more directory information" when we're
|
||||
reading cached directory information. Reserve it for when new
|
||||
directory information arrives in response to a fetch. Resolves
|
||||
ticket 6760.
|
||||
|
@ -953,7 +953,8 @@ directory_info_has_arrived(time_t now, int from_cache)
|
||||
const or_options_t *options = get_options();
|
||||
|
||||
if (!router_have_minimum_dir_info()) {
|
||||
int quiet = directory_too_idle_to_fetch_descriptors(options, now);
|
||||
int quiet = from_cache ||
|
||||
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 "
|
||||
"build a circuit: %s", get_dir_info_status_string());
|
||||
|
Loading…
Reference in New Issue
Block a user