Increase fetch size from 256K to 512K

pull/172/head
M66B 5 years ago
parent f690587803
commit 2d28b5c745

@ -86,7 +86,7 @@ public class MailService implements AutoCloseable {
private final static int CONNECT_TIMEOUT = 20 * 1000; // milliseconds
private final static int WRITE_TIMEOUT = 60 * 1000; // milliseconds
private final static int READ_TIMEOUT = 60 * 1000; // milliseconds
private final static int FETCH_SIZE = 256 * 1024; // bytes, default 16K
private final static int FETCH_SIZE = 512 * 1024; // bytes, default 16K
private final static int POOL_TIMEOUT = 45 * 1000; // milliseconds, default 45 sec
private static final int APPEND_BUFFER_SIZE = 4 * 1024 * 1024; // bytes

Loading…
Cancel
Save