rev:现场测试优化

This commit is contained in:
2025-01-18 13:35:16 +08:00
parent ddf73d75e8
commit a8f76b7595
5 changed files with 9 additions and 5 deletions

View File

@@ -151,8 +151,11 @@ public class OpcServerServiceImpl implements OpcServerService, ApplicationAutoIn
}
}
/*
/既锁住对象又参数 保持一致
*/
@Override
public Group getServerByNewConn(String code) {
public synchronized Group getServerByNewConn(String code) {
synchronized (this.buildLock(code)) {
Server server = (Server) this.servers.get(code);

View File

@@ -6,7 +6,7 @@ spring:
freemarker:
check-template-location: false
profiles:
active: prod
active: dev
jackson:
time-zone: GMT+8
data: