Commit 1ac2cdfc authored by Jan Peter Stotz's avatar Jan Peter Stotz Committed by skylot

fix: wait time for background jobs too short

parent eadf046b
...@@ -44,7 +44,7 @@ public abstract class BackgroundJob { ...@@ -44,7 +44,7 @@ public abstract class BackgroundJob {
public Boolean call() throws Exception { public Boolean call() throws Exception {
runJob(); runJob();
executor.shutdown(); executor.shutdown();
return executor.awaitTermination(5, TimeUnit.MINUTES); return executor.awaitTermination(5, TimeUnit.DAYS);
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment