Skip to content

Commit

Permalink
increase await time
Browse files Browse the repository at this point in the history
Signed-off-by: OlegDokuka <[email protected]>
  • Loading branch information
OlegDokuka committed Oct 17, 2024
1 parent f638bf1 commit 48ec387
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,12 @@ private void initializeRemoting(ExecutionContext ctx) throws IOException {
processBuilder.redirectError(new File("/dev/null"));
}
nodeProcess = processBuilder.start();
for (int i = 0; i < 5 && nodeProcess.isAlive(); i++) {
for (int i = 0; i < 30 && nodeProcess.isAlive(); i++) {
if (isServerRunning(port)) {
break;
}
try {
Thread.sleep(50);
Thread.sleep(100);
} catch (InterruptedException ignore) {
}
}
Expand Down

0 comments on commit 48ec387

Please sign in to comment.