mirror of
https://github.com/ProtonVPN/android-app.git
synced 2026-03-13 09:02:15 +08:00
Increase read/write timeouts for http sockets [VPNAND-2536]
In test environements /auth/v4 can sometimes take over 10s to respond leading to login errors and flakiness.
This commit is contained in:
committed by
MargeBot
parent
aec4f4b5b3
commit
4eea08cce6
@@ -53,8 +53,8 @@ class VpnApiClient @Inject constructor(
|
||||
Build.MODEL).replaceNonAscii()
|
||||
|
||||
override val connectTimeoutSeconds get() = 5L
|
||||
override val readTimeoutSeconds get() = 10L
|
||||
override val writeTimeoutSeconds get() = 10L
|
||||
override val readTimeoutSeconds get() = 20L
|
||||
override val writeTimeoutSeconds get() = 20L
|
||||
override val callTimeoutSeconds get() = 30L
|
||||
|
||||
override val pingTimeoutSeconds: Int get() = 5
|
||||
|
||||
Reference in New Issue
Block a user