diff options
author | Stephane Gamard <stephane.gamard@sonarsource.com> | 2014-09-22 17:08:42 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@sonarsource.com> | 2014-09-22 17:08:42 +0200 |
commit | 8a7965dfbc7c967e199d5cf4f4c83ff8dd81a6c3 (patch) | |
tree | b8cf4ee1232bcd5376fb5801a0901a340d48f626 /server/sonar-search/src/main/java/org/sonar | |
parent | c60e0b1f3a510f8eb6b3f3b4e0f92e61630fa8c9 (diff) | |
download | sonarqube-8a7965dfbc7c967e199d5cf4f4c83ff8dd81a6c3.tar.gz sonarqube-8a7965dfbc7c967e199d5cf4f4c83ff8dd81a6c3.zip |
SONAR-5531 - Reverted broken fix for refresh
Diffstat (limited to 'server/sonar-search/src/main/java/org/sonar')
-rw-r--r-- | server/sonar-search/src/main/java/org/sonar/search/SearchServer.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java b/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java index c1b3bb4c150..1433bd71b6e 100644 --- a/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java +++ b/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java @@ -88,14 +88,9 @@ public class SearchServer implements Monitored { .put("discovery.zen.ping.multicast.enabled", "false") // Index storage policies - .put("index.refresh_interval", "30") .put("index.number_of_shards", "1") .put("index.number_of_replicas", MINIMUM_INDEX_REPLICATION) .put("index.store.type", "mmapfs") -// .put("indices.store.throttle.type", "merge") -// .put("indices.store.throttle.max_bytes_per_sec", "500mb") - .put("index.merge.scheduler.max_thread_count", - Math.max(1, Math.min(3, Runtime.getRuntime().availableProcessors() / 2))) // Install our own listUpdate scripts .put("script.default_lang", "native") |