mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-13 07:04:14 +08:00
Test with two threads at least #128
This commit is contained in:
committed by
Guillaume Nodet
parent
8efcf615d8
commit
4392dd6b3d
@@ -43,6 +43,7 @@ public enum Environment {
|
||||
DAEMON_IDLE_TIMEOUT_MS("daemon.idleTimeoutMs", null),
|
||||
DAEMON_KEEP_ALIVE_MS("daemon.keepAliveMs", null),
|
||||
DAEMON_MAX_LOST_KEEP_ALIVE("daemon.maxLostKeepAlive", null),
|
||||
MVND_MIN_THREADS("mvnd.minThreads", null),
|
||||
DAEMON_UID("daemon.uid", null);
|
||||
|
||||
public static final int DEFAULT_IDLE_TIMEOUT = (int) TimeUnit.HOURS.toMillis(3);
|
||||
@@ -51,6 +52,8 @@ public enum Environment {
|
||||
|
||||
public static final int DEFAULT_MAX_LOST_KEEP_ALIVE = 3;
|
||||
|
||||
public static final int DEFAULT_MIN_THREADS = 1;
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(Environment.class);
|
||||
static Properties properties = System.getProperties();
|
||||
static Map<String, String> env = System.getenv();
|
||||
|
||||
Reference in New Issue
Block a user