Improve the error message when hub is almost full (#14021)
Improve the error message when hub is almost full
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1c06d25d9d
Коммит
010dac2195
@@ -101,7 +101,7 @@ func (a *App) HubStart() {
|
||||
for _, hub := range a.Srv().GetHubs() {
|
||||
if len(hub.broadcast) >= DEADLOCK_WARN {
|
||||
mlog.Error(
|
||||
"Hub processing might be deadlock with events in the buffer",
|
||||
"Websocket hub queue is filled to 99% of its capacity",
|
||||
mlog.Int("hub", hub.connectionIndex),
|
||||
mlog.Int("goroutine", hub.goroutineId),
|
||||
mlog.Int("events", len(hub.broadcast)),
|
||||
|
||||
Ссылка в новой задаче
Block a user