Reduced connection timeout

This commit is contained in:
M66B
2020-12-01 08:50:25 +01:00
parent a5dc2369d2
commit 9543eef292
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ public class EmailService implements AutoCloseable {
static final int ENCRYPTION_STARTTLS = 1;
static final int ENCRYPTION_NONE = 2;
final static int DEFAULT_CONNECT_TIMEOUT = 20; // seconds
final static int DEFAULT_CONNECT_TIMEOUT = 15; // seconds
private final static int SEARCH_TIMEOUT = 90 * 1000; // milliseconds
private final static int FETCH_SIZE = 1024 * 1024; // bytes, default 16K