File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,12 @@ public static void main(String[] argv) {
422
422
System .exit (1 );
423
423
} finally {
424
424
env .shutdownSearchExecutor ();
425
+ /*
426
+ * Normally the IndexParallelizer is bounced (i.e. thread pools within are terminated)
427
+ * via auto-closed in doIndexerExecution(), however there are cases (--noIndex) that
428
+ * avoid that path, yet use the IndexParallelizer. So, bounce it here for a good measure.
429
+ */
430
+ env .getIndexerParallelizer ().bounce ();
425
431
stats .report (LOGGER , "Indexer finished" , "indexer.total" );
426
432
}
427
433
}
@@ -1046,7 +1052,7 @@ public void prepareIndexer(RuntimeEnvironment env,
1046
1052
List <String > repositories ) throws IndexerException , IOException {
1047
1053
1048
1054
if (!env .validateUniversalCtags ()) {
1049
- throw new IndexerException ("Could not find working Universal ctags . " +
1055
+ throw new IndexerException ("Could not find working Universal . " +
1050
1056
"Pro tip: avoid installing Universal ctags from snap packages." );
1051
1057
}
1052
1058
You can’t perform that action at this time.
0 commit comments