разрыв каждые 100 проверок. на всякий случай.

This commit is contained in:
2023-12-15 16:44:14 +03:00
parent bd702b3ebc
commit da74a8a699
3 changed files with 11 additions and 2 deletions

View File

@@ -236,6 +236,7 @@ public class DVMTestingPlanner extends TestingPlanner<DVMPackage> {
}
@Override
protected boolean CheckNextState() throws Exception {
boolean progress_changed = false;
boolean state_changed = false;
RemoteFile progress = new RemoteFile(packageRemoteWorkspace, "progress");
@@ -261,6 +262,12 @@ public class DVMTestingPlanner extends TestingPlanner<DVMPackage> {
break;
}
}
//--
user.connection.iterations++;
if (user.connection.iterations==100) {
Disconnect();
}
//--
return progress_changed || state_changed;
}
@Override