Skip to content

Commit

Permalink
Wait for map generator options longer (#3228)
Browse files Browse the repository at this point in the history
2 seconds might not be enough
and 6 was enough on the old 1.5 GHz processor
running it all in a VM on HDD
  • Loading branch information
Gatsik committed Aug 2, 2024
1 parent 41c1681 commit 6d65acd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected List<String> call() throws Exception {
}
});
OsUtils.gobbleLines(process.getErrorStream(), generatorLogger::error);
process.waitFor(2, TimeUnit.SECONDS);
process.waitFor(6, TimeUnit.SECONDS);
if (process.isAlive()) {
process.destroyForcibly();
log.warn("Map generator option run timed out");
Expand Down

0 comments on commit 6d65acd

Please sign in to comment.