diff options
author | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-07-16 00:24:56 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-07-16 00:24:56 +0200 |
commit | 8a153bf24c3476af8b8783cb3861b895293bd402 (patch) | |
tree | e5e7344e1fd76eb34d60a019db7e69eb4abc1a00 /server | |
parent | e8d71ba72ec6efd0ed4cf6b25c02fa7bd5dbc5e6 (diff) | |
download | sonarqube-8a153bf24c3476af8b8783cb3861b895293bd402.tar.gz sonarqube-8a153bf24c3476af8b8783cb3861b895293bd402.zip |
SONAR-4898 - Removed default ES debug
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-search/src/main/java/org/sonar/search/ElasticSearch.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-search/src/main/java/org/sonar/search/ElasticSearch.java b/server/sonar-search/src/main/java/org/sonar/search/ElasticSearch.java index f65655e0314..e07850b285d 100644 --- a/server/sonar-search/src/main/java/org/sonar/search/ElasticSearch.java +++ b/server/sonar-search/src/main/java/org/sonar/search/ElasticSearch.java @@ -87,13 +87,13 @@ public class ElasticSearch extends Process { .put("transport.tcp.port", port) .put("path.home", home); -// if (props.booleanOf(ES_DEBUG_PROPERTY, false)) { - esSettings - .put("http.enabled", true) - .put("http.port", 9200); -// } else { -// esSettings.put("http.enabled", false); -// } + if (props.booleanOf(ES_DEBUG_PROPERTY, false)) { + esSettings + .put("http.enabled", true) + .put("http.port", 9200); + } else { + esSettings.put("http.enabled", false); + } node = NodeBuilder.nodeBuilder() .settings(esSettings) |