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