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 bfac51e4d2e2..77ff2641a44e 100644 --- a/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java +++ b/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java @@ -43,7 +43,7 @@ public class FileDownloader implements AutoCloseable { static { // Undocumented on purpose, might change or be removed at any time var backOff = System.getenv("VESPA_FILE_DOWNLOAD_BACKOFF_INITIAL_TIME_MS"); - backoffInitialTime = Duration.ofMillis(backOff == null ? 1000 : Long.parseLong(backOff)); + backoffInitialTime = Duration.ofMillis(backOff == null ? 5000 : Long.parseLong(backOff)); } public FileDownloader(ConnectionPool connectionPool, Supervisor supervisor, Duration timeout) { diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index 739bf54d2072..d410e5fde4d7 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -554,7 +554,7 @@ public class Flags { "Takes effect on next host-admin run"); public static final UnboundLongFlag FILE_DOWNLOAD_BACKOFF_INITIAL_TIME = defineLongFlag( - "file-download-backoff-initial-time", 1000, + "file-download-backoff-initial-time", 5000, List.of("hmusum"), "2024-08-16", "2024-09-16", "Initial backoff time in milliseconds when failing to download a file reference", "Takes effect on restart of Docker container");