Increase default timeout to match old riot

This commit is contained in:
Valere 2020-04-20 11:22:02 +02:00
parent 7961423556
commit c7ac5e2293

View File

@ -72,8 +72,8 @@ internal object NetworkModule {
okReplayInterceptor: OkReplayInterceptor): OkHttpClient {
return OkHttpClient.Builder()
.connectTimeout(30, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.writeTimeout(30, TimeUnit.SECONDS)
.readTimeout(60, TimeUnit.SECONDS)
.writeTimeout(60, TimeUnit.SECONDS)
.addNetworkInterceptor(stethoInterceptor)
.addInterceptor(timeoutInterceptor)
.addInterceptor(userAgentInterceptor)