Skip to content

Commit

Permalink
Merge pull request #32158 from vespa-engine/hmusum/add-feature-flag-f…
Browse files Browse the repository at this point in the history
…or-file-distributuon-backoff-time

Add feature flag for file distribution backoff time
  • Loading branch information
hakonhall authored Aug 16, 2024
2 parents b86c5e5 + 3695022 commit 17e9572
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flags/src/main/java/com/yahoo/vespa/flags/Flags.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> owners,
String createdAt, String expiresAt, String description,
Expand Down

0 comments on commit 17e9572

Please sign in to comment.