Added restart interval option

This commit is contained in:
M66B
2024-12-06 08:19:36 +01:00
parent 29cb2c9c5b
commit 281d414056
5 changed files with 58 additions and 8 deletions

View File

@@ -128,6 +128,7 @@ public class EmailService implements AutoCloseable {
static final int ENCRYPTION_NONE = 2;
final static int DEFAULT_CONNECT_TIMEOUT = 20; // seconds
static final int DEFAULT_RESTART_INTERVAL = 4 * 60; // seconds
final static boolean SEPARATE_STORE_CONNECTION = false;
private final static int SEARCH_TIMEOUT = 90 * 1000; // milliseconds