Update checkpoint restoration message handling in Subserver

This commit is contained in:
2025-07-16 09:39:38 +02:00
parent e06742d6d2
commit 44c06314c6
@@ -219,8 +219,7 @@ public class Subserver {
Exception ex = null;
try {
if (checkpoint) {
start(process.getErrorStream(), line -> line.contains("Checkpoint restored"));
Thread.sleep(300);
start(process.getErrorStream(), line -> line.contains("Restore finished successfully."));
} else {
start(process.getInputStream(), line -> {
if (line.contains("Loading libraries, please wait"))