From afbe556ac095bb1076464cfe0793a90c8054c40a Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Mon, 19 Aug 2024 20:41:06 +0200 Subject: [PATCH] Change timeout in config proxy file distribution server code Timeout in waitFor in FileAcquirerImpl is 60 seconds, need lower timeout in config proxy to be able to respond before it times out. --- .../filedistribution/FileDistributionAndUrlDownload.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java index ec9091b416f7..9a9115cb2ddb 100644 --- a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java +++ b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/filedistribution/FileDistributionAndUrlDownload.java @@ -33,9 +33,7 @@ public void close() { private FileDownloader createDownloader(Supervisor supervisor, ConfigSourceSet source) { return new FileDownloader(new FileDistributionConnectionPool(source, supervisor), supervisor, - Duration.ofMinutes(5)); + Duration.ofSeconds(55)); // Should be lower than the timeout in FileAcquirer } - - }