From fa5802fadee82e9729c7b7795690ba2fcab024e9 Mon Sep 17 00:00:00 2001 From: Hakky54 Date: Thu, 5 Dec 2024 15:08:58 +0100 Subject: [PATCH] Increased timeout --- .../java/nl/altindag/client/service/Http4kAsyncClientService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/nl/altindag/client/service/Http4kAsyncClientService.kt b/client/src/main/java/nl/altindag/client/service/Http4kAsyncClientService.kt index fb8db87..9f186b0 100644 --- a/client/src/main/java/nl/altindag/client/service/Http4kAsyncClientService.kt +++ b/client/src/main/java/nl/altindag/client/service/Http4kAsyncClientService.kt @@ -34,7 +34,7 @@ abstract class Http4kAsyncClientService(val client: AsyncHttpHandler): RequestSe // Waiting till the async call finishes return await() - .atMost(500, TimeUnit.MILLISECONDS) + .atMost(5, TimeUnit.SECONDS) .until { response != null } .let { response }!! }