[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] avoid extra LOG_NOTICE for every new microdesc batch



commit 56c5e282a733912776f6dacbe4f5df66b4fb9606
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date:   Mon Feb 22 02:55:42 2016 -0500

    avoid extra LOG_NOTICE for every new microdesc batch
    
    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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index b686286..7c3bfe5 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -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);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits