aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2018-02-07 11:49:11 +0100
committerHarald Musum <musum@oath.com>2018-02-07 11:49:11 +0100
commitf91428a3a5d58af3b54f93b25c56a17781a5288f (patch)
tree21e41fb6b1aec8fc206ea939d82b0c49eba15040 /filedistribution
parent6db029156483eaab425ac2c5119c9d7152c01703 (diff)
Use same path (and therefore, same file system) for tmp files
We move files to file distribution dir after receiving and need to be on the same file system for that to work
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java b/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java
index c6b2dd32be7..5655d69593c 100644
--- a/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java
+++ b/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java
@@ -36,7 +36,7 @@ public class FileDownloader {
public FileDownloader(ConnectionPool connectionPool) {
this(connectionPool,
new File(Defaults.getDefaults().underVespaHome("var/db/vespa/filedistribution")),
- new File(Defaults.getDefaults().underVespaHome("tmp")),
+ new File(Defaults.getDefaults().underVespaHome("var/db/vespa/filedistribution")),
Duration.ofMinutes(15));
}