mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-17 15:47:14 +00:00
Merge remote-tracking branch 'upstream/main' into sync-3.6.0
# Conflicts: # .github/workflows/claude-bot.yml # .github/workflows/release.yml # DockerInit.sh # frontend/package-lock.json # frontend/package.json # frontend/src/hooks/useClients.ts # frontend/src/layouts/AppSidebar.tsx # frontend/src/main.tsx # internal/config/version # internal/database/model/model.go # internal/web/service/client_wireguard.go # internal/web/service/inbound.go
This commit is contained in:
@@ -76,9 +76,6 @@ func BroadcastInbounds(inbounds any) {
|
||||
}
|
||||
}
|
||||
|
||||
// BroadcastNodes broadcasts the fresh node list to all connected clients.
|
||||
// Pushed by NodeHeartbeatJob at the end of each 10s tick so the Nodes page
|
||||
// reflects status / latency / cpu / mem updates without polling.
|
||||
func BroadcastNodes(nodes any) {
|
||||
if hub := GetHub(); hub != nil {
|
||||
hub.Broadcast(MessageTypeNodes, nodes)
|
||||
|
||||
Reference in New Issue
Block a user