Skip to content

Commit

Permalink
Bump OkHttp and re-enable fast fallback
Browse files Browse the repository at this point in the history
It wasn't very stable last time, but we'll see how it goes in preview builds.
  • Loading branch information
arkon committed Aug 31, 2022
1 parent 2f26982 commit 30b86e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class NetworkHelper(context: Context) {
.connectTimeout(30, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.callTimeout(2, TimeUnit.MINUTES)
// .fastFallback(true) // TODO: re-enable when OkHttp 5 is stabler
.fastFallback(true)
.addInterceptor(userAgentInterceptor)
.addNetworkInterceptor(http103Interceptor)

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
aboutlib_version = "10.4.0"
okhttp_version = "4.10.0"
okhttp_version = "5.0.0-alpha.10"
nucleus_version = "3.0.0"
coil_version = "2.2.0"
conductor_version = "3.1.7"
Expand Down

0 comments on commit 30b86e5

Please sign in to comment.