aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src/main/java/org/sonar/application
diff options
context:
space:
mode:
authorMichal Duda <michal.duda@sonarsource.com>2019-05-16 12:36:17 +0200
committerSonarTech <sonartech@sonarsource.com>2019-05-21 20:21:07 +0200
commitdfcb1c01a430cf3317d12ff4448fc700b9979d4f (patch)
tree07a32c098cc59661abf85ff15bdff909e2cfd4b0 /sonar-application/src/main/java/org/sonar/application
parent42aa152b7b174ce55796b8b00758d1fe63643cb7 (diff)
downloadsonarqube-dfcb1c01a430cf3317d12ff4448fc700b9979d4f.tar.gz
sonarqube-dfcb1c01a430cf3317d12ff4448fc700b9979d4f.zip
SONAR-11720 Set different memory defaults for EE+
Diffstat (limited to 'sonar-application/src/main/java/org/sonar/application')
-rw-r--r--sonar-application/src/main/java/org/sonar/application/App.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java
index d262fe5df9c..af29478eeef 100644
--- a/sonar-application/src/main/java/org/sonar/application/App.java
+++ b/sonar-application/src/main/java/org/sonar/application/App.java
@@ -33,6 +33,7 @@ import org.sonar.application.process.ProcessLauncher;
import org.sonar.application.process.ProcessLauncherImpl;
import org.sonar.application.process.StopRequestWatcher;
import org.sonar.application.process.StopRequestWatcherImpl;
+import org.sonar.core.extension.ServiceLoaderWrapper;
import org.sonar.process.System2;
import org.sonar.process.SystemExit;
@@ -50,7 +51,7 @@ public class App {
}
public void start(String[] cliArguments) throws IOException {
- AppSettingsLoader settingsLoader = new AppSettingsLoaderImpl(cliArguments);
+ AppSettingsLoader settingsLoader = new AppSettingsLoaderImpl(cliArguments, new ServiceLoaderWrapper());
AppSettings settings = settingsLoader.load();
// order is important - logging must be configured before any other components (AppFileSystem, ...)
AppLogging logging = new AppLogging(settings);