[tor-commits] [collector/master] Adapt sync/ path to recent change.

karsten at torproject.org karsten at torproject.org
Thu Oct 27 18:56:30 UTC 2016


commit 3081583d9f4e0e55103f9f5afef2559dd3f46f95
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Thu Oct 27 20:32:54 2016 +0200

    Adapt sync/ path to recent change.
---
 src/main/java/org/torproject/collector/sync/SyncManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/collector/sync/SyncManager.java b/src/main/java/org/torproject/collector/sync/SyncManager.java
index 3996a2e..e199836 100644
--- a/src/main/java/org/torproject/collector/sync/SyncManager.java
+++ b/src/main/java/org/torproject/collector/sync/SyncManager.java
@@ -71,7 +71,7 @@ public class SyncManager {
     Path basePath = conf.getPath(Key.SyncPath);
     SyncPersistence persist = new SyncPersistence(conf);
     for (URL source : sources) {
-      File base = new File(basePath.toFile(), source.getHost());
+      File base = new File(basePath.toFile(), marker + "-" + source.getHost());
       log.info("Merging {} from {} into storage ...", marker,
           source.getHost());
       for (Map.Entry<String, Class<? extends Descriptor>> entry



More information about the tor-commits mailing list