]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Document the consensus download interval used by hidden services
authorteor <teor2345@gmail.com>
Mon, 15 Jun 2015 17:11:09 +0000 (03:11 +1000)
committerteor <teor2345@gmail.com>
Mon, 15 Jun 2015 17:11:09 +0000 (03:11 +1000)
In the comments in update_consensus_networkstatus_fetch_time_impl
in networkstatus.c

src/or/networkstatus.c

index da110fdff68950b2676b6c287941e108b6237268..9de1f88aaf1a97ee0e9b488d9a600684e265d0b7 100644 (file)
@@ -856,8 +856,8 @@ update_consensus_networkstatus_fetch_time_impl(time_t now, int flav)
         dl_interval = interval/2;
       }
     } else {
-      /* We're an ordinary client or a bridge. Give all the caches enough
-       * time to download the consensus. */
+      /* We're an ordinary client, a bridge, or a hidden service.
+       * Give all the caches enough time to download the consensus. */
       start = (time_t)(c->fresh_until + (interval*3)/4);
       /* But download the next one well before this one is expired. */
       dl_interval = ((c->valid_until - start) * 7 )/ 8;