Skip to content

Commit

Permalink
Search index thread lowered for priority
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthale committed Apr 30, 2024
1 parent b7858e7 commit 8fdbc2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public SearchIndex(MetadataController metc, MainViewController c) {
mainViewController = c;
fileWalkRunning = false;
terminateFileWalk = false;
executorParallel = Executors.newCachedThreadPool(new ThreadFactoryBuilder().setPriority(3).setNamePrefix("searchIndexExecutor").build());
executorParallel = Executors.newCachedThreadPool(new ThreadFactoryBuilder().setPriority(1).setNamePrefix("searchIndexExecutor").build());
}

public void createSearchIndex(String searchPath) {
Expand Down

0 comments on commit 8fdbc2b

Please sign in to comment.