forked from GitHub-Mirror/riotX-android
Increase connect timeout from 30 seconds to 1 minute, for slow Homeserver (should fix #170)
This commit is contained in:
parent
8f2c005d82
commit
33f8059846
@ -66,7 +66,7 @@ class NetworkModule {
|
||||
|
||||
single {
|
||||
OkHttpClient.Builder()
|
||||
.connectTimeout(30, TimeUnit.SECONDS)
|
||||
.connectTimeout(1, TimeUnit.MINUTES)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.writeTimeout(30, TimeUnit.SECONDS)
|
||||
.addNetworkInterceptor(get<StethoInterceptor>())
|
||||
|
Loading…
Reference in New Issue
Block a user