Skip to content

Commit

Permalink
⬆️ Upgraded some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vegidio committed May 19, 2024
1 parent aafe8ac commit dfeea1e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 4 additions & 4 deletions library/src/androidMain/kotlin/io/vinicius/klopik/Platform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
8 changes: 4 additions & 4 deletions library/src/jvmMain/kotlin/io/vinicius/klopik/Platform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit dfeea1e

Please sign in to comment.