Skip to content

Commit

Permalink
Increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakky54 committed Dec 5, 2024
1 parent 49948fc commit fa5802f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }!!
}
Expand Down

0 comments on commit fa5802f

Please sign in to comment.