mirror of https://github.com/M66B/FairEmail.git
Change connection pool size
This commit is contained in:
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…
Reference in New Issue