Improve perceived server start time

This commit is contained in:
2025-07-10 13:02:24 +02:00
parent 12f26b982e
commit d7908c8255
@@ -219,8 +219,7 @@ public class Subserver {
Exception ex = null; Exception ex = null;
try { try {
if (checkpoint) { if (checkpoint) {
start(process.getErrorStream(), line -> line.contains("Restore finished successfully.")); start(process.getErrorStream(), line -> line.contains("Checkpoint restored"));
Thread.sleep(300); //Wait for port to be reopened
} else { } else {
start(process.getInputStream(), line -> { start(process.getInputStream(), line -> {
if (line.contains("Loading libraries, please wait")) if (line.contains("Loading libraries, please wait"))