[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Also include archived descriptor tarballs, if present.
commit 80bebf0fff0b11579159042abe2375bd4e8e0550
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Aug 24 15:18:11 2015 +0200
Also include archived descriptor tarballs, if present.
---
modules/clients/src/org/torproject/metrics/clients/Main.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/clients/src/org/torproject/metrics/clients/Main.java b/modules/clients/src/org/torproject/metrics/clients/Main.java
index 2e6712b..430cb1e 100644
--- a/modules/clients/src/org/torproject/metrics/clients/Main.java
+++ b/modules/clients/src/org/torproject/metrics/clients/Main.java
@@ -63,6 +63,8 @@ public class Main {
"status/relay-descriptors"));
descriptorReader.addDirectory(new File(
"../../shared/in/recent/relay-descriptors"));
+ descriptorReader.addDirectory(new File(
+ "../../shared/in/archive/relay-descriptors"));
Iterator<DescriptorFile> descriptorFiles =
descriptorReader.readDescriptors();
while (descriptorFiles.hasNext()) {
@@ -200,6 +202,8 @@ public class Main {
"status/bridge-descriptors"));
descriptorReader.addDirectory(new File(
"../../shared/in/recent/bridge-descriptors"));
+ descriptorReader.addDirectory(new File(
+ "../../shared/in/archive/bridge-descriptors"));
Iterator<DescriptorFile> descriptorFiles =
descriptorReader.readDescriptors();
while (descriptorFiles.hasNext()) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits