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 }!! }