Просмотр исходного кода

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.


svn:r12510

Roger Dingledine 17 лет назад
Родитель
Сommit
0e442e098c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
src/or/routerlist.c

@@ -3565,7 +3565,7 @@ launch_router_descriptor_downloads(smartlist_t *downloadable, time_t now)
     } else {
     } else {
       should_delay = (last_routerdesc_download_attempted +
       should_delay = (last_routerdesc_download_attempted +
                       MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
                       MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
-      if (!should_delay) {
+      if (!should_delay && n_downloadable) {
         if (last_routerdesc_download_attempted) {
         if (last_routerdesc_download_attempted) {
           log_info(LD_DIR,
           log_info(LD_DIR,
                    "There are not many downloadable routerdescs, but we've "
                    "There are not many downloadable routerdescs, but we've "