mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Increase connect timeout from 30 seconds to 1 minute, for slow Homeserver (should fix #170)
This commit is contained in:
parent
8f2c005d82
commit
33f8059846
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue