From 6b214145200a0365c720e96863295fc3f91993e6 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Mon, 22 Jul 2013 17:53:44 +0200 Subject: [PATCH] should be 500... --- .../org/elasticsearch/cluster/metadata/MetaDataService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/cluster/metadata/MetaDataService.java b/src/main/java/org/elasticsearch/cluster/metadata/MetaDataService.java index 7e2f82ce063..379f560c3fd 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/MetaDataService.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/MetaDataService.java @@ -35,7 +35,7 @@ public class MetaDataService extends AbstractComponent { @Inject public MetaDataService(Settings settings) { super(settings); - indexMdLocks = new Semaphore[1]; + indexMdLocks = new Semaphore[500]; for (int i = 0; i < indexMdLocks.length; i++) { indexMdLocks[i] = new Semaphore(1); }