From 974769c0a0376f9b681f3f4789cbf7fbb567bdbd Mon Sep 17 00:00:00 2001 From: carlospzurita Date: Thu, 13 Dec 2018 11:48:08 +0100 Subject: [PATCH] Use more descriptive parameters name. Related to governance issue 48. --- .../etf/webapp/controller/EtfConfigController.java | 2 +- src/main/resources/etf-config.properties | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/interactive_instruments/etf/webapp/controller/EtfConfigController.java b/src/main/java/de/interactive_instruments/etf/webapp/controller/EtfConfigController.java index 2a40c12..95d0af3 100644 --- a/src/main/java/de/interactive_instruments/etf/webapp/controller/EtfConfigController.java +++ b/src/main/java/de/interactive_instruments/etf/webapp/controller/EtfConfigController.java @@ -104,7 +104,7 @@ public interface EtfConfigPropertyChangeListener { private static final String ETF_CONFIG_PROPERTY_FILENAME = "etf-config.properties"; private static final String ETF_CONFIG_DIR_NAME = "config"; private static final String ETF_PARALLEL_EXECUTIONS = "etf.parallel"; - private static final STRING ETF_QUEUE_SIZE = "etf.queue" + private static final String ETF_QUEUE_SIZE = "etf.queue"; @Autowired private ServletContext servletContext; diff --git a/src/main/resources/etf-config.properties b/src/main/resources/etf-config.properties index ffcfb63..e7dba7a 100644 --- a/src/main/resources/etf-config.properties +++ b/src/main/resources/etf-config.properties @@ -69,11 +69,13 @@ etf.webapp.base.url = http://localhost:8080/etf-webapp # Default: simplified # etf.workflows = simplified -# Maximum number of test whith can run in parallel. -etf.parallel = 4 +# Maximum number of tests which can run in parallel. +# Default: auto (the number of CPU cores of this machine) +etf.testruns.threads.max = auto + # Size of the task pool queue -# Default: Three times the size of the pool -etf.queue = 12 +# Default: auto (three times the parameter etf.testruns.threads.max) +etf.testruns.queued.max = auto ##################################################################################