Change connection pool size

pull/169/head
M66B 5 years ago
parent f385c76fbb
commit 70aedf2827

@ -124,7 +124,7 @@ public class MailService implements AutoCloseable {
properties.put("mail.imap.starttls.required", Boolean.toString(!insecure));
properties.put("mail." + protocol + ".connectionpool.debug", "true");
properties.put("mail." + protocol + ".connectionpoolsize", "2");
properties.put("mail." + protocol + ".connectionpoolsize", "1");
properties.put("mail." + protocol + ".connectionpooltimeout", Integer.toString(POOL_TIMEOUT));
properties.put("mail." + protocol + ".finalizecleanclose", "false");

Loading…
Cancel
Save