Skip to content

Commit 4757cad

Browse files
committed
use indexing parallelism when creating xref watcher thread pool
fixes #4092
1 parent 8a7aa08 commit 4757cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexerParallelizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ private void createLazyCtagsWatcherExecutor() {
248248

249249
private void createLazyXrefWatcherExecutor() {
250250
lzXrefWatcherExecutor = LazilyInstantiate.using(() ->
251-
new ScheduledThreadPoolExecutor(1,
251+
new ScheduledThreadPoolExecutor(indexingParallelism,
252252
new OpenGrokThreadFactory("xref-watcher")));
253253
}
254254

0 commit comments

Comments
 (0)