fix: 数据库多库切换关键字提示错误修复&sql编辑器组件统一

This commit is contained in:
meilin.huang
2023-09-19 23:00:32 +08:00
parent 72677e270d
commit 829a68feaa
8 changed files with 389 additions and 417 deletions

View File

@@ -31,7 +31,7 @@ func NewClientManager() (clientManager *ClientManager) {
// 管道处理程序
func (manager *ClientManager) Start() {
manager.HeartbeatTimer()
go manager.WriteMessage()
manager.WriteMessage()
for {
select {
case client := <-manager.ConnectChan:
@@ -118,7 +118,7 @@ func (manager *ClientManager) HeartbeatTimer() {
}
if err := cli.Ping(); err != nil {
manager.CloseClient(cli)
logx.Errorf("WS发送心跳失败: %v 总连接数:%d", userId, Manager.Count())
logx.Debugf("WS发送心跳失败: %v 总连接数:%d", userId, Manager.Count())
} else {
logx.Debugf("WS发送心跳成功: uid=%v", userId)
}