коммит произвёл
GitHub
родитель
6a6e05073e
Коммит
efbcb0a35a
@@ -90,7 +90,7 @@ func (a *App) TotalWebsocketConnections() int {
|
||||
func (s *Server) HubStart() {
|
||||
// Total number of hubs is twice the number of CPUs.
|
||||
numberOfHubs := runtime.NumCPU() * 2
|
||||
s.Log.Info("Starting websocket hubs", mlog.Int("number_of_hubs", numberOfHubs))
|
||||
s.Log().Info("Starting websocket hubs", mlog.Int("number_of_hubs", numberOfHubs))
|
||||
|
||||
hubs := make([]*Hub, numberOfHubs)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user