mirror of https://github.com/apache/lucene.git
call these setters in the magical order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6235e48896
commit
81068009aa
|
@ -770,8 +770,9 @@ public class _TestUtil {
|
|||
}
|
||||
MergeScheduler ms = w.getConfig().getMergeScheduler();
|
||||
if (ms instanceof ConcurrentMergeScheduler) {
|
||||
((ConcurrentMergeScheduler) ms).setMaxThreadCount(2);
|
||||
// wtf... shouldnt it be even lower since its 1 by default?!?!
|
||||
((ConcurrentMergeScheduler) ms).setMaxMergeCount(3);
|
||||
((ConcurrentMergeScheduler) ms).setMaxThreadCount(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue