Skip to content

Commit

Permalink
Add feature flag FILE_DOWNLOAD_BACKOFF_INITIAL_TIME_MS
Browse files Browse the repository at this point in the history
  • Loading branch information
Harald Musum committed Aug 19, 2024
1 parent cad7770 commit 2756183
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 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 @@ -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<String> owners,
String createdAt, String expiresAt, String description,
Expand Down

0 comments on commit 2756183

Please sign in to comment.