Change CHECK_MEMORY_PERIOD_SEC from 10 sec to 5 min.

This commit is contained in:
Manfred Karrer 2019-02-19 14:46:55 -05:00
parent 4d017334ca
commit 570d08d4b3
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -47,7 +47,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public abstract class ExecutableForAppWithP2p extends BisqExecutable implements UncaughtExceptionHandler {
private static final long MAX_MEMORY_MB_DEFAULT = 500;
private static final long CHECK_MEMORY_PERIOD_SEC = 10;
private static final long CHECK_MEMORY_PERIOD_SEC = 300;
private volatile boolean stopped;
private static long maxMemory = MAX_MEMORY_MB_DEFAULT;