diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-17 06:42:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-17 06:42:30 +0000 |
commit | 9e5fc55564fdd13454690998ad2d8cb858c7f7fe (patch) | |
tree | 4d318916db1c19b2575818a632d8632cbf973725 /src/or/routerlist.c | |
parent | 8566bbb4892f81704c87543487f12b6433602240 (diff) | |
download | tor-9e5fc55564fdd13454690998ad2d8cb858c7f7fe.tar tor-9e5fc55564fdd13454690998ad2d8cb858c7f7fe.tar.gz |
now that we parse router->uptime, make use of it
svn:r2251
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 16cd55dad..149897ff9 100644 --- a/src/or/routerlist.c +++ b/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) |