We can remove about 30% of the v1 directory bulk by taking

out down or invalid nodes. We should do this once we're ready.


svn:r6273
This commit is contained in:
Roger Dingledine
2006-03-29 09:21:23 +00:00
parent db1209a852
commit 4c996757ae
+4
View File
@@ -752,6 +752,10 @@ 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;
}