From 8b0b8ebae49819412a7f14f93111e9e5ed81d8c2 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 27 Jan 2020 14:29:42 +0100 Subject: [PATCH] Increased check timeout --- app/src/main/java/eu/faircode/email/MailService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/MailService.java b/app/src/main/java/eu/faircode/email/MailService.java index 8412845da7..24c7afa09a 100644 --- a/app/src/main/java/eu/faircode/email/MailService.java +++ b/app/src/main/java/eu/faircode/email/MailService.java @@ -80,7 +80,7 @@ public class MailService implements AutoCloseable { static final int AUTH_TYPE_GMAIL = 2; static final int AUTH_TYPE_OAUTH = 3; - private final static int CHECK_TIMEOUT = 15 * 1000; // milliseconds + private final static int CHECK_TIMEOUT = 20 * 1000; // milliseconds private final static int CONNECT_TIMEOUT = 20 * 1000; // milliseconds private final static int WRITE_TIMEOUT = 60 * 1000; // milliseconds private final static int READ_TIMEOUT = 60 * 1000; // milliseconds