From 27561830df53895c64f11d55649a546156651b0c Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Mon, 19 Aug 2024 13:45:34 +0200 Subject: [PATCH] Add feature flag FILE_DOWNLOAD_BACKOFF_INITIAL_TIME_MS --- flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 d410e5fde4d7..ad4e47a6202b 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -559,6 +559,13 @@ public class Flags { "Initial backoff time in milliseconds when failing to download a file reference", "Takes effect on restart of Docker container"); + // TODO: Remove FILE_DOWNLOAD_BACKOFF_INITIAL_TIME when all usage is migrated to FILE_DOWNLOAD_BACKOFF_INITIAL_TIME_MS + public static final UnboundLongFlag FILE_DOWNLOAD_BACKOFF_INITIAL_TIME_MS = defineLongFlag( + "file-download-backoff-initial-time-ms", 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"); + /** WARNING: public for testing: All flags should be defined in {@link Flags}. */ public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List owners, String createdAt, String expiresAt, String description,