Bump OkHttp and re-enable fast fallback

It wasn't very stable last time, but we'll see how it goes in preview builds.

(cherry picked from commit 30b86e530b5e44c95415beaba5ec2747a73a66be)
This commit is contained in:
arkon 2022-08-31 16:51:33 -04:00 committed by Jobobby04
parent e009398c0f
commit ce9dec14b1
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ open /* SY <-- */ 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)

View File

@ -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"