should be 500...

This commit is contained in:
Shay Banon 2013-07-22 17:53:44 +02:00
parent c766f6bd97
commit 6b21414520
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}