From 7d9d5cb82ac1a205fcf533399b79621aeb5b393b Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 5 Mar 2021 08:26:59 +0100 Subject: [PATCH] Increased connection pool timeout --- app/src/main/java/eu/faircode/email/EmailService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index 45874bd031..14d5c7b224 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -132,7 +132,7 @@ public class EmailService implements AutoCloseable { private final static int SEARCH_TIMEOUT = 90 * 1000; // milliseconds private final static int FETCH_SIZE = 1024 * 1024; // bytes, default 16K private final static int POOL_SIZE = 1; // connections - private final static int POOL_TIMEOUT = 45 * 1000; // milliseconds, default 45 sec + private final static int POOL_TIMEOUT = 60 * 1000; // milliseconds, default 45 sec private final static int TCP_KEEP_ALIVE_INTERVAL = 9 * 60; // seconds