|
@@ -144,9 +144,9 @@ public class RetrofitHelper {
|
|
|
//.sslSocketFactory(getSSLContext(context))
|
|
//.sslSocketFactory(getSSLContext(context))
|
|
|
.addInterceptor(new ChuckInterceptor(mContext))
|
|
.addInterceptor(new ChuckInterceptor(mContext))
|
|
|
.retryOnConnectionFailure(true)
|
|
.retryOnConnectionFailure(true)
|
|
|
- .connectTimeout(20, TimeUnit.SECONDS)
|
|
|
|
|
- .writeTimeout(20, TimeUnit.SECONDS)
|
|
|
|
|
- .readTimeout(60, TimeUnit.SECONDS)
|
|
|
|
|
|
|
+ .connectTimeout(30, TimeUnit.SECONDS)
|
|
|
|
|
+ .writeTimeout(30, TimeUnit.SECONDS)
|
|
|
|
|
+ .readTimeout(30, TimeUnit.SECONDS)
|
|
|
.build();
|
|
.build();
|
|
|
}
|
|
}
|
|
|
|
|
|