fix: fixing client map size

This commit is contained in:
2025-10-13 07:05:18 +07:00
parent cd4a239f14
commit bc2017e67d

View File

@@ -41,7 +41,7 @@ func NewHub() *Hub {
Broadcast: make(chan []byte, 1), Broadcast: make(chan []byte, 1),
Register: make(chan *Client, 1), Register: make(chan *Client, 1),
Unregister: make(chan *Client, 1), Unregister: make(chan *Client, 1),
Clients: make(map[*Client]bool, 1), Clients: make(map[*Client]bool, 0),
} }
} }