From eed583da35ea80a5357a9d250d0877080b865be9 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 31 Jan 2019 18:35:37 +0000 Subject: [PATCH] Changed timeout values --- app/src/main/java/eu/faircode/email/MessageHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 45c4eb09a0..52a45c6007 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -67,9 +67,9 @@ import javax.mail.internet.ParseException; public class MessageHelper { private MimeMessage imessage; - private final static int NETWORK_TIMEOUT = 60 * 1000; // milliseconds + private final static int NETWORK_TIMEOUT = 20 * 1000; // milliseconds private final static int FETCH_SIZE = 1024 * 1024; // bytes, default 16K - private final static int POOL_TIMEOUT = 3 * 60 * 1000; // milliseconds, default 45 sec + private final static int POOL_TIMEOUT = 45 * 1000; // milliseconds, default 45 sec static final int ATTACHMENT_BUFFER_SIZE = 8192; // bytes