mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
Increase timeout values
* increase timeout values because some servers are known to be very slow
This commit is contained in:
parent
9dbc32d30b
commit
9ec4a4015d
@ -64,8 +64,8 @@ public class HttpClient extends OkHttpClient {
|
||||
|
||||
// set timeouts
|
||||
setConnectTimeout(30, TimeUnit.SECONDS);
|
||||
setWriteTimeout(15, TimeUnit.SECONDS);
|
||||
setReadTimeout(45, TimeUnit.SECONDS);
|
||||
setWriteTimeout(30, TimeUnit.SECONDS);
|
||||
setReadTimeout(120, TimeUnit.SECONDS);
|
||||
|
||||
// add User-Agent to every request
|
||||
networkInterceptors().add(userAgentInterceptor);
|
||||
|
Loading…
Reference in New Issue
Block a user