mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
chore(gateway): update log output in websocket gateway
This commit is contained in:
@@ -40,7 +40,7 @@ public class WebSocketGateway extends WebSocketServer implements AgentGateway<In
|
|||||||
this.setReuseAddr(true);
|
this.setReuseAddr(true);
|
||||||
this.executor = Executors.newSingleThreadExecutor();
|
this.executor = Executors.newSingleThreadExecutor();
|
||||||
|
|
||||||
log.info("WebSocketGateway started on {}: {}", hostname, port);
|
log.info("WebSocketGateway will start on {}: {}", hostname, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void launch() {
|
public void launch() {
|
||||||
@@ -49,6 +49,7 @@ public class WebSocketGateway extends WebSocketServer implements AgentGateway<In
|
|||||||
}
|
}
|
||||||
this.start();
|
this.start();
|
||||||
startHeartbeatThread();
|
startHeartbeatThread();
|
||||||
|
log.info("WebSocketGateway started");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user