Skip to content

Commit

Permalink
WIP - multi-threaded indexing - increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
djtfmartin committed Jun 27, 2024
1 parent 28d1204 commit 013302a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public static Long[] createJoinIndex(MatchingService matchingService,

exec.shutdown();
try {
if (!exec.awaitTermination(30, TimeUnit.MINUTES)) {
if (!exec.awaitTermination(60, TimeUnit.MINUTES)) {
log.error("Forcing shut down of executor service, pending tasks will be lost! {}", exec);
exec.shutdownNow();
}
Expand Down Expand Up @@ -627,7 +627,7 @@ private void indexFile(String exportPath, String indexPath) throws Exception {

exec.shutdown();
try {
if (!exec.awaitTermination(30, TimeUnit.MINUTES)) {
if (!exec.awaitTermination(60, TimeUnit.MINUTES)) {
log.error("Forcing shut down of executor service, pending tasks will be lost! {}", exec);
exec.shutdownNow();
}
Expand Down

0 comments on commit 013302a

Please sign in to comment.