Increased default connect timeout

This commit is contained in:
M66B 2020-04-11 21:28:39 +02:00
parent 593ab3e081
commit d287de8563
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class EmailService implements AutoCloseable {
static final int PURPOSE_USE = 2;
static final int PURPOSE_SEARCH = 3;
final static int DEFAULT_CONNECT_TIMEOUT = 15; // seconds
final static int DEFAULT_CONNECT_TIMEOUT = 20; // seconds
private final static int SEARCH_TIMEOUT = 2 * 60 * 1000; // milliseconds
private final static int FETCH_SIZE = 1024 * 1024; // bytes, default 16K