1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Reduced search timeout

This commit is contained in:
M66B 2020-07-08 07:58:54 +02:00
parent 6ea3b5673e
commit 2c59441044

View file

@ -107,7 +107,7 @@ public class EmailService implements AutoCloseable {
final static int DEFAULT_CONNECT_TIMEOUT = 20; // seconds
private final static int SEARCH_TIMEOUT = 2 * 60 * 1000; // milliseconds
private final static int SEARCH_TIMEOUT = 60 * 1000; // milliseconds
private final static int FETCH_SIZE = 1024 * 1024; // bytes, default 16K
private final static int POOL_TIMEOUT = 45 * 1000; // milliseconds, default 45 sec