[or-cvs] r12510: Nov 16 02:20:50.089 [info] update_consensus_router_descripto (tor/trunk/src/or)

arma at seul.org arma at seul.org
Fri Nov 16 07:23:25 UTC 2007


Author: arma
Date: 2007-11-16 02:23:25 -0500 (Fri, 16 Nov 2007)
New Revision: 12510

Modified:
   tor/trunk/src/or/routerlist.c
Log:
Nov 16 02:20:50.089 [info] update_consensus_router_descriptor_downloads(): 0 router descriptors downloadable. 0 delayed; 1676 present (0 of those were in old_routers); 0 would_reject; 582 wouldnt_use, 0 in progress.
Nov 16 02:20:50.089 [info] launch_router_descriptor_downloads(): There are not many downloadable routerdescs, but we haven't tried downloading descriptors recently. Downloading.

Get rid of the second line.


Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-11-16 05:29:27 UTC (rev 12509)
+++ tor/trunk/src/or/routerlist.c	2007-11-16 07:23:25 UTC (rev 12510)
@@ -3565,7 +3565,7 @@
     } else {
       should_delay = (last_routerdesc_download_attempted +
                       MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
-      if (!should_delay) {
+      if (!should_delay && n_downloadable) {
         if (last_routerdesc_download_attempted) {
           log_info(LD_DIR,
                    "There are not many downloadable routerdescs, but we've "



More information about the tor-commits mailing list