Increase connect timeout from 30 seconds to 1 minute, for slow Homeserver (should fix #170)

This commit is contained in:
Benoit Marty 2019-06-10 15:57:42 +02:00
parent 8f2c005d82
commit 33f8059846

View File

@ -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>())