mirror of https://github.com/apache/lucene.git
LUCENE-887: setDaemon(true) on merge threads so JVM will exit if only they remain
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aa7c63e82b
commit
02d9b51ede
|
@ -180,6 +180,7 @@ public class ConcurrentMergeScheduler extends MergeScheduler {
|
|||
mergeThreads.add(merger);
|
||||
message(" launch new thread [" + merger.getName() + "]");
|
||||
merger.setThreadPriority(mergeThreadPriority);
|
||||
merger.setDaemon(true);
|
||||
merger.start();
|
||||
continue;
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue