From 05be0dff7b176e4f5236da44098ea4c24ec750b7 Mon Sep 17 00:00:00 2001 From: Stephane Gamard Date: Fri, 4 Jul 2014 17:19:52 +0200 Subject: [PATCH] fix quality flaw (Using production ready timeout value) --- .../src/main/java/org/sonar/server/search/IndexQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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); -- 2.39.5