diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index fbc582f..85626db 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,13 +1,13 @@ [versions] android = "8.2.1" -coroutines = "1.7.3" +coroutines = "1.8.0" detekt = "1.23.5" dokka = "1.9.20" kermit = "2.0.3" -kotlin = "1.9.21" +kotlin = "1.9.22" ktlint = "12.0.3" okhttp = "4.12.0" -okio = "3.8.0" +okio = "3.9.0" serialization = "1.6.3" slf4j = "2.0.11" uuid = "0.8.4" diff --git a/library/src/androidMain/kotlin/io/vinicius/klopik/Platform.kt b/library/src/androidMain/kotlin/io/vinicius/klopik/Platform.kt index 2dec996..10361d7 100644 --- a/library/src/androidMain/kotlin/io/vinicius/klopik/Platform.kt +++ b/library/src/androidMain/kotlin/io/vinicius/klopik/Platform.kt @@ -9,10 +9,10 @@ import okio.Buffer import java.util.concurrent.TimeUnit private val client = OkHttpClient().newBuilder() - .connectTimeout(30, TimeUnit.DAYS) - .readTimeout(30, TimeUnit.DAYS) - .writeTimeout(30, TimeUnit.DAYS) - .callTimeout(30, TimeUnit.DAYS) + .connectTimeout(1, TimeUnit.DAYS) + .readTimeout(1, TimeUnit.DAYS) + .writeTimeout(1, TimeUnit.DAYS) + .callTimeout(1, TimeUnit.DAYS) .build() internal actual fun platformRequest( diff --git a/library/src/jvmMain/kotlin/io/vinicius/klopik/Platform.kt b/library/src/jvmMain/kotlin/io/vinicius/klopik/Platform.kt index dc934e7..887411a 100644 --- a/library/src/jvmMain/kotlin/io/vinicius/klopik/Platform.kt +++ b/library/src/jvmMain/kotlin/io/vinicius/klopik/Platform.kt @@ -10,10 +10,10 @@ import java.util.concurrent.TimeUnit // Long timeout because the actual timeout is handled by Klopik private val client = OkHttpClient().newBuilder() - .connectTimeout(30, TimeUnit.DAYS) - .readTimeout(30, TimeUnit.DAYS) - .writeTimeout(30, TimeUnit.DAYS) - .callTimeout(30, TimeUnit.DAYS) + .connectTimeout(1, TimeUnit.DAYS) + .readTimeout(1, TimeUnit.DAYS) + .writeTimeout(1, TimeUnit.DAYS) + .callTimeout(1, TimeUnit.DAYS) .build() internal actual fun platformRequest(