Change connection pool size

This commit is contained in:
M66B 2019-12-09 14:03:18 +01:00
parent f385c76fbb
commit 70aedf2827
1 changed files with 1 additions and 1 deletions

View File

@ -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");