mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
now that we parse router->uptime, make use of it
svn:r2251
This commit is contained in:
parent
8566bbb489
commit
9e5fc55564
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue