From b2ec38bbc7043d024294f382001ca1a8b34927d2 Mon Sep 17 00:00:00 2001 From: Jeevika <83456541+jeevikasirwani@users.noreply.github.com> Date: Mon, 20 May 2024 00:40:35 +0530 Subject: [PATCH] BE: Increase gh call timeout (#236) --- api/src/main/java/io/kafbat/ui/util/GithubReleaseInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/io/kafbat/ui/util/GithubReleaseInfo.java b/api/src/main/java/io/kafbat/ui/util/GithubReleaseInfo.java index 0448c96c8..e3f546ad8 100644 --- a/api/src/main/java/io/kafbat/ui/util/GithubReleaseInfo.java +++ b/api/src/main/java/io/kafbat/ui/util/GithubReleaseInfo.java @@ -11,7 +11,7 @@ public class GithubReleaseInfo { private static final String GITHUB_LATEST_RELEASE_RETRIEVAL_URL = "https://api.github.com/repos/kafbat/kafka-ui/releases/latest"; - private static final Duration GITHUB_API_MAX_WAIT_TIME = Duration.ofSeconds(2); + private static final Duration GITHUB_API_MAX_WAIT_TIME = Duration.ofSeconds(10); public record GithubReleaseDto(String html_url, String tag_name, String published_at) {