Skip to content

Commit

Permalink
Revert http timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Nov 8, 2023
1 parent 6b6c8a8 commit cff6470
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import kotlin.time.Duration.Companion.seconds

// TODO Consider moving it to util package?
fun defaultClient(name: String, debug: Boolean, block: HttpClientConfig<*>.() -> Unit = {}): HttpClient {
val timeout = 55.seconds.inWholeMilliseconds
val timeout = 60.seconds.inWholeMilliseconds
return createPlatformClient {
// Charset defaults to UTF-8 (https://ktor.io/docs/http-plain-text.html#configuration)
install(HttpTimeout) {
Expand Down

0 comments on commit cff6470

Please sign in to comment.