update for async get endpoint info

This commit is contained in:
CaiHQ
2025-07-18 19:59:27 +08:00
parent 9ecbf54c2d
commit 8a3c59ed59

View File

@@ -85,7 +85,8 @@ public class DoipLocalSingleton {
EndpointInfo endpointInfo = null;
for (int i = 0; i < 10; i++) {
endpointInfo = irpClient.getEndpointInfo();
if (endpointInfo == null) Thread.sleep(200);
if (endpointInfo == null)
Thread.sleep(200);
}
if (endpointInfo != null) {
repoID = endpointInfo.getDoId();