auto restart system
parent
1365316d2a
commit
f3cc29d7f4
|
@ -74,13 +74,13 @@ public class SocketClientMessageListener implements KraSocketClientEventInterfac
|
||||||
.getServiceTask("Lobby");
|
.getServiceTask("Lobby");
|
||||||
|
|
||||||
if (serviceTask != null) {
|
if (serviceTask != null) {
|
||||||
System.out.println("serviceTask " + serviceTask.getName());
|
|
||||||
playersAutoRestartServerSystem.put(serviceTask.getName(), null);
|
|
||||||
|
|
||||||
ServiceInfoSnapshot serviceInfoSnapshot = ServiceConfiguration.builder(serviceTask)
|
ServiceInfoSnapshot serviceInfoSnapshot = ServiceConfiguration.builder(serviceTask)
|
||||||
.build().createNewService();
|
.build().createNewService();
|
||||||
|
|
||||||
if (serviceInfoSnapshot != null) {
|
if (serviceInfoSnapshot != null) {
|
||||||
|
System.out.println("serviceTask " + serviceInfoSnapshot.getName());
|
||||||
|
playersAutoRestartServerSystem.put(serviceInfoSnapshot.getName(), null);
|
||||||
|
|
||||||
serviceInfoSnapshot.provider().start();
|
serviceInfoSnapshot.provider().start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue