mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Note a magic 2 that probably should be replaced now that we have more dirservers
svn:r6232
This commit is contained in:
parent
5b87b0bf55
commit
444e3b8eb2
@ -3466,6 +3466,9 @@ update_router_descriptor_client_downloads(time_t now)
|
|||||||
"Called router_descriptor_client_downloads() on a mirror?");
|
"Called router_descriptor_client_downloads() on a mirror?");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* XXX here's another magic 2 that probably should be replaced
|
||||||
|
* by <= smartlist_len(trusted_dir_servers)/2
|
||||||
|
* or by a function returning same. -- weasel */
|
||||||
if (networkstatus_list && smartlist_len(networkstatus_list) < 2) {
|
if (networkstatus_list && smartlist_len(networkstatus_list) < 2) {
|
||||||
log_info(LD_DIR,
|
log_info(LD_DIR,
|
||||||
"Not enough networkstatus documents to launch requests.");
|
"Not enough networkstatus documents to launch requests.");
|
||||||
|
Loading…
Reference in New Issue
Block a user