Decrease connection timeout

If the server does not reply within 10 seconds, the download will also most likely fail.
This commit is contained in:
ByteHamster 2019-11-24 20:24:23 +01:00
parent 5c8f2b6e37
commit f2771f953f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class 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 MAX_CONNECTIONS = 8;