]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
avoid extra LOG_NOTICE for every new microdesc batch
authorRoger Dingledine <arma@torproject.org>
Mon, 22 Feb 2016 07:55:42 +0000 (02:55 -0500)
committerRoger Dingledine <arma@torproject.org>
Mon, 22 Feb 2016 07:55:42 +0000 (02:55 -0500)
We already write out bootstrapping progress (see bug 9927) per new
microdesc batch. There's no need to do a full "I learned some more
directory information, but not enough to..." line each time too.

src/or/directory.c

index b686286458a9e1093c70d20e2f4782872810effc..7c3bfe5529fe79015eeab07c2789088d638f7aaa 100644 (file)
@@ -2169,7 +2169,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
       control_event_bootstrap(BOOTSTRAP_STATUS_LOADING_DESCRIPTORS,
                               count_loading_descriptors_progress());
       if (mds && smartlist_len(mds))
-        directory_info_has_arrived(now, 0, 0);
+        directory_info_has_arrived(now, 0, 1);
       SMARTLIST_FOREACH(which, char *, cp, tor_free(cp));
       smartlist_free(which);
       smartlist_free(mds);