From 3cc1f70ba9c9c5642bc8bd5df4886e2a0f44f790 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 17 Aug 2004 06:42:30 +0000 Subject: [PATCH] now that we parse router->uptime, make use of it svn:r2251 --- trunk/src/or/routerlist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index 16cd55dada..149897ff9f 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/src/or/routerlist.c @@ -218,8 +218,7 @@ router_add_running_routers_to_smartlist(smartlist_t *sl, int allow_unverified) /** How many seconds a router must be up before we'll use it for * reliability-critical node positions. */ -#define ROUTER_REQUIRED_MIN_UPTIME 0 - /* XXX008 change this once we parse router->uptime */ +#define ROUTER_REQUIRED_MIN_UPTIME 3600 /* an hour */ static void routerlist_sl_remove_unreliable_routers(smartlist_t *sl)