]> source.dussan.org Git - sonarqube.git/commitdiff
fix quality flaw (Using production ready timeout value)
authorStephane Gamard <stephane.gamard@searchbox.com>
Fri, 4 Jul 2014 15:19:52 +0000 (17:19 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Fri, 4 Jul 2014 15:20:22 +0000 (17:20 +0200)
sonar-server/src/main/java/org/sonar/server/search/IndexQueue.java

index 28d8210acc775f7c41cf7c7f8b16a94e11394eca..edb234c5e55eed5f260270dfc0ddc21c18b7efb2 100644 (file)
@@ -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);