Improve Subserver.run for checkpoint

This commit is contained in:
2025-07-19 18:20:48 +02:00
parent 679d373a1e
commit 933e2119ef
@@ -219,8 +219,7 @@ public class Subserver {
Exception ex = null;
try {
if (checkpoint) {
start(process.getErrorStream(), line -> line.contains("Restore finished successfully."));
Thread.sleep(300);
start(process.getInputStream(), line -> line.contains("Checkpoint restored"));
} else {
start(process.getInputStream(), line -> {
if (line.contains("Loading libraries, please wait"))