mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 23:17:50 +08:00
[集群-自动切换过国标级联] 修复BUG
This commit is contained in:
parent
347b2a6a4c
commit
7fb07848ab
@ -121,7 +121,7 @@ public class PlatformServiceImpl implements IPlatformService {
|
||||
ServerInfo serverInfo = redisCatchStorage.queryServerInfo(serverId);
|
||||
if (serverInfo != null) {
|
||||
return;
|
||||
}else {
|
||||
}
|
||||
log.info("[集群] 检测到 {} 已离线", serverId);
|
||||
String chooseServerId = redisCatchStorage.chooseOneServer(serverId);
|
||||
if (!userSetting.getServerId().equals(chooseServerId)){
|
||||
@ -151,7 +151,6 @@ public class PlatformServiceImpl implements IPlatformService {
|
||||
log.error("[命令发送失败] 国标级联: {}", e.getMessage());
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user