From 369502226aeef24a19a0de2d4bc721f6d012955f Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Fri, 16 Aug 2024 10:34:27 +0200 Subject: [PATCH] Add feature flag for file distributuon backoff time --- flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 6 ++++++ 1 file changed, 6 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 1a02dbe3ccfa..d8954bb21a2f 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -547,6 +547,12 @@ public class Flags { "Whether to enable sysctl setting net.ipv4.tcp_shrink_window, default false", "Takes effect on next host-admin run"); + public static final UnboundLongFlag FILE_DOWNLOAD_BACKOFF_INITIAL_TIME = defineLongFlag( + "file-download-backoff-initial-time", 1000, + 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,