summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/java
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:09 +0200
commit972e4d53dfad4692574b70e1bc495c76a2c177d3 (patch)
treed58e59a0bf0eb5a8dbd817812c04f9cdc3ef91a5 /sonar-server/src/main/java
parentcbadf0e71e2b64dc519b5ea33cd6022014920713 (diff)
downloadsonarqube-972e4d53dfad4692574b70e1bc495c76a2c177d3.tar.gz
sonarqube-972e4d53dfad4692574b70e1bc495c76a2c177d3.zip
fix quality flaw (Using production ready timeout value)
Diffstat (limited to 'sonar-server/src/main/java')
-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);