mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-24 16:53:37 +00:00
Increased network timeouts
This commit is contained in:
parent
fb634a8e4a
commit
f570911f8c
2 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
|||
</value>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
|
|
@ -72,9 +72,9 @@ public class MessageHelper {
|
|||
props.put("mail.imaps.starttls.enable", "false");
|
||||
|
||||
// TODO: make timeouts configurable?
|
||||
props.put("mail.imaps.connectiontimeout", "20000");
|
||||
props.put("mail.imaps.timeout", "20000");
|
||||
props.put("mail.imaps.writetimeout", "20000"); // one thread overhead
|
||||
props.put("mail.imaps.connectiontimeout", "60000");
|
||||
props.put("mail.imaps.timeout", "60000");
|
||||
props.put("mail.imaps.writetimeout", "60000"); // one thread overhead
|
||||
|
||||
props.put("mail.imaps.connectionpooltimeout", Integer.toString(3 * 60 * 1000)); // default: 45 sec
|
||||
|
||||
|
|
Loading…
Reference in a new issue