Increased connection pool timeout

pull/194/head
M66B 4 years ago
parent 025007a50d
commit 7d9d5cb82a

@ -132,7 +132,7 @@ public class EmailService implements AutoCloseable {
private final static int SEARCH_TIMEOUT = 90 * 1000; // milliseconds
private final static int FETCH_SIZE = 1024 * 1024; // bytes, default 16K
private final static int POOL_SIZE = 1; // connections
private final static int POOL_TIMEOUT = 45 * 1000; // milliseconds, default 45 sec
private final static int POOL_TIMEOUT = 60 * 1000; // milliseconds, default 45 sec
private final static int TCP_KEEP_ALIVE_INTERVAL = 9 * 60; // seconds

Loading…
Cancel
Save