websocket并发发送消息
This commit is contained in:
parent
ae484ed814
commit
a3aa3b2187
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user