mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Bump OkHttp and re-enable fast fallback
It wasn't very stable last time, but we'll see how it goes in preview builds.
This commit is contained in:
parent
2f26982e34
commit
30b86e530b
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class NetworkHelper(context: Context) {
|
||||||
.connectTimeout(30, TimeUnit.SECONDS)
|
.connectTimeout(30, TimeUnit.SECONDS)
|
||||||
.readTimeout(30, TimeUnit.SECONDS)
|
.readTimeout(30, TimeUnit.SECONDS)
|
||||||
.callTimeout(2, TimeUnit.MINUTES)
|
.callTimeout(2, TimeUnit.MINUTES)
|
||||||
// .fastFallback(true) // TODO: re-enable when OkHttp 5 is stabler
|
.fastFallback(true)
|
||||||
.addInterceptor(userAgentInterceptor)
|
.addInterceptor(userAgentInterceptor)
|
||||||
.addNetworkInterceptor(http103Interceptor)
|
.addNetworkInterceptor(http103Interceptor)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[versions]
|
[versions]
|
||||||
aboutlib_version = "10.4.0"
|
aboutlib_version = "10.4.0"
|
||||||
okhttp_version = "4.10.0"
|
okhttp_version = "5.0.0-alpha.10"
|
||||||
nucleus_version = "3.0.0"
|
nucleus_version = "3.0.0"
|
||||||
coil_version = "2.2.0"
|
coil_version = "2.2.0"
|
||||||
conductor_version = "3.1.7"
|
conductor_version = "3.1.7"
|
||||||
|
|
Loading…
Reference in a new issue