diff options
author | Harald Musum <musum@oath.com> | 2018-02-07 11:49:11 +0100 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-02-07 11:49:11 +0100 |
commit | f91428a3a5d58af3b54f93b25c56a17781a5288f (patch) | |
tree | 21e41fb6b1aec8fc206ea939d82b0c49eba15040 /filedistribution/src | |
parent | 6db029156483eaab425ac2c5119c9d7152c01703 (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/src')
-rw-r--r-- | filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java | 2 |
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)); } |