websocket并发发送消息

This commit is contained in:
谷成伟 2024-10-22 13:13:09 +08:00
parent ae484ed814
commit a3aa3b2187

View File

@ -44,6 +44,9 @@ public class NodeMessageHandler extends TextWebSocketHandler {
// 如果version是0则需要调用一次configUpdate配置更新
if (version == 0){
if (dataService == null){
dataService = SpringUtil.getBean(DataService.class);
}
dataService.sendTerminalConfig(Long.valueOf(nodeId));
}