|
@@ -36,9 +36,9 @@ val httpModule = DI.Module("netModule") {
|
|
|
bind {
|
|
|
singleton {
|
|
|
OkHttpClient.Builder()
|
|
|
- .connectTimeout(10, TimeUnit.SECONDS)
|
|
|
- .readTimeout(300, TimeUnit.SECONDS)
|
|
|
- .writeTimeout(300, TimeUnit.SECONDS)
|
|
|
+ .connectTimeout(100, TimeUnit.SECONDS)
|
|
|
+ .readTimeout(3000, TimeUnit.SECONDS)
|
|
|
+ .writeTimeout(3000, TimeUnit.SECONDS)
|
|
|
.addInterceptor(instance<HttpLoggingInterceptor>())
|
|
|
.addInterceptor(instance<GzipRequestInterceptor>())
|
|
|
.build()
|