aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-17 20:12:10 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-17 20:12:10 +0000
commit65974f82fa17bb19186df00e6cf311e96baa9c51 (patch)
treeb0a63545d2f6b6f38ba9ac3a3d99c5ea598a59fa /src/or/main.c
parent547624dcff8796699d05ccb5d936936ac2c2b8bd (diff)
downloadtor-65974f82fa17bb19186df00e6cf311e96baa9c51.tar
tor-65974f82fa17bb19186df00e6cf311e96baa9c51.tar.gz
r8839@Kushana: nickm | 2006-09-17 16:11:59 -0400
Add some client performance XXXXs; try to move some common case tests higher on their decision trees. svn:r8410
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index c09abefd8..984563f2e 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -749,6 +749,8 @@ run_scheduled_events(time_t now)
}
if (time_to_try_getting_descriptors < now) {
+ /* XXXX Maybe we should do this every 10sec when not enough info,
+ * and every 60sec when we have enough info -NM */
update_router_descriptor_downloads(now);
time_to_try_getting_descriptors = now + DESCRIPTOR_RETRY_INTERVAL;
}