fix: wait time for background jobs too short

This commit is contained in:
Jan Peter Stotz
2018-12-26 17:08:51 +01:00
committed by skylot
parent eadf046b2c
commit 1ac2cdfc41
@@ -44,7 +44,7 @@ public abstract class BackgroundJob {
public Boolean call() throws Exception {
runJob();
executor.shutdown();
return executor.awaitTermination(5, TimeUnit.MINUTES);
return executor.awaitTermination(5, TimeUnit.DAYS);
}
});
}