commit 2dfc37bcf51f1fbf634b768c873b9d1709f2230b Author: Arlo Breault arlolra@gmail.com Date: Fri Oct 25 16:30:40 2013 -0700
Only use descriptors from the past hour.
Avoid repeats. --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Makefile b/Makefile index 46a1f29..27cfa5a 100644 --- a/Makefile +++ b/Makefile @@ -36,11 +36,7 @@ data/exit-policies: data/consensus data/exit-addresses data/cached-descriptors data/cached-descriptors: descriptors @echo "Concatenating data/descriptors/* into data/cached-descriptors" @rm -f data/cached-descriptors - @touch data/cached-descriptors - @for f in 0 1 2 3 4 5 6 7 8 9 a b c d e f; \ - do \ - cat data/descriptors/$$f* >> data/cached-descriptors; \ - done + find data/descriptors -type f -mmin -60 | xargs cat > data/cached-descriptors @echo "Done"
descriptors: data/descriptors/