aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-07-04 17:19:52 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-07-04 17:20:22 +0200
commit05be0dff7b176e4f5236da44098ea4c24ec750b7 (patch)
treec9fb174a81379bf167b6d3416547885a8b804cf5
parentd46c21ff3399c898fc08f2d56c1259786a71ea85 (diff)
downloadsonarqube-05be0dff7b176e4f5236da44098ea4c24ec750b7.tar.gz
sonarqube-05be0dff7b176e4f5236da44098ea4c24ec750b7.zip
fix quality flaw (Using production ready timeout value)
-rw-r--r--sonar-server/src/main/java/org/sonar/server/search/IndexQueue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/search/IndexQueue.java b/sonar-server/src/main/java/org/sonar/server/search/IndexQueue.java
index 28d8210acc7..edb234c5e55 100644
--- a/sonar-server/src/main/java/org/sonar/server/search/IndexQueue.java
+++ b/sonar-server/src/main/java/org/sonar/server/search/IndexQueue.java
@@ -43,7 +43,7 @@ public class IndexQueue extends LinkedBlockingQueue<Runnable>
private static final Logger LOGGER = LoggerFactory.getLogger(IndexQueue.class);
private static final Integer DEFAULT_QUEUE_SIZE = 200;
- private static final int TIMEOUT = 3000;
+ private static final int TIMEOUT = 30000;
public IndexQueue() {
super(DEFAULT_QUEUE_SIZE);