mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-07 23:16:37 +00:00
Change connection pool size
This commit is contained in:
parent
f385c76fbb
commit
70aedf2827
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class MailService implements AutoCloseable {
|
||||||
properties.put("mail.imap.starttls.required", Boolean.toString(!insecure));
|
properties.put("mail.imap.starttls.required", Boolean.toString(!insecure));
|
||||||
|
|
||||||
properties.put("mail." + protocol + ".connectionpool.debug", "true");
|
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 + ".connectionpooltimeout", Integer.toString(POOL_TIMEOUT));
|
||||||
|
|
||||||
properties.put("mail." + protocol + ".finalizecleanclose", "false");
|
properties.put("mail." + protocol + ".finalizecleanclose", "false");
|
||||||
|
|
Loading…
Reference in a new issue