mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Remove about 30% of the v1 directory bulk by not including down or
invalid nodes. This will make exitlist's running on v1 not very good. I feel sorry for them, but not as sorry as I feel for the directory mirrors. svn:r6332
This commit is contained in:
parent
d48cdbe2e0
commit
0871f4ef90
@ -752,10 +752,8 @@ live_enough_for_v1_dir(routerinfo_t *ri, time_t now)
|
||||
time_t cutoff = now - ROUTER_MAX_AGE_TO_PUBLISH;
|
||||
if (ri->cache_info.published_on < cutoff)
|
||||
return 0;
|
||||
#if 0
|
||||
if (!ri->is_running || !ri->is_valid)
|
||||
return 0;
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user