Increase partial fetch size

This commit is contained in:
M66B 2020-01-21 11:09:57 +01:00
parent f9762dd014
commit 52035e9e24
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,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 = 512 * 1024; // bytes, default 16K
private final static int FETCH_SIZE = 1024 * 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