commit 7112fb7b6a6ebbc078d53e21d8d976222734f8b0
Author: Karsten Loesing <karsten.loesing(a)gmx.net>
Date: Tue Jun 3 10:29:33 2014 +0200
Move input descriptors to in/recent/.
This allows us to exclude descriptors from the server backup by touching
in/.nobackup, but without having to handle that file specifically.
---
src/org/torproject/onionoo/DescriptorSource.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/onionoo/DescriptorSource.java b/src/org/torproject/onionoo/DescriptorSource.java
index 9fb9715..f3f88a3 100644
--- a/src/org/torproject/onionoo/DescriptorSource.java
+++ b/src/org/torproject/onionoo/DescriptorSource.java
@@ -78,7 +78,7 @@ class DescriptorDownloader {
private String directory;
- private final File inDir = new File("in");
+ private final File inDir = new File("in/recent");
public DescriptorDownloader(DescriptorType descriptorType) {
switch (descriptorType) {
@@ -447,7 +447,7 @@ class DescriptorQueue {
public class DescriptorSource {
- private final File inDir = new File("in");
+ private final File inDir = new File("in/recent");
private final File statusDir = new File("status");