Decrease connection timeout
If the server does not reply within 10 seconds, the download will also most likely fail.
This commit is contained in:
parent
5c8f2b6e37
commit
f2771f953f
@ -49,7 +49,7 @@ public class AntennapodHttpClient {
|
|||||||
|
|
||||||
private static final String TAG = "AntennapodHttpClient";
|
private static final String TAG = "AntennapodHttpClient";
|
||||||
|
|
||||||
private static final int CONNECTION_TIMEOUT = 30000;
|
private static final int CONNECTION_TIMEOUT = 10000;
|
||||||
private static final int READ_TIMEOUT = 30000;
|
private static final int READ_TIMEOUT = 30000;
|
||||||
|
|
||||||
private static final int MAX_CONNECTIONS = 8;
|
private static final int MAX_CONNECTIONS = 8;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user