Increase timeout values

* increase timeout values because some servers are known to be very slow
parent 9dbc32d3
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment