Compare commits

..

1 Commits

Author SHA1 Message Date
bc2017e67d fix: fixing client map size 2025-10-13 07:05:18 +07:00

View File

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