mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-05 07:26:36 +08:00
[优化] 增加断开 WebSocket 客户端的功能,优化连接管理
This commit is contained in:
@@ -130,6 +130,7 @@ func DeleteNode(id uint) error {
|
||||
return err
|
||||
}
|
||||
invalidateAgentTokenCache(node.AgentToken)
|
||||
DisconnectAgentWSClient(node.NodeID)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user