[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] now that we parse router->uptime, make use of it
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
routerlist.c
Log Message:
now that we parse router->uptime, make use of it
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- routerlist.c 17 Aug 2004 06:27:32 -0000 1.124
+++ routerlist.c 17 Aug 2004 06:42:30 -0000 1.125
@@ -218,8 +218,7 @@
/** 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)