mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Improve the error message when hub is almost full (#14021)
Improve the error message when hub is almost full
This commit is contained in:
committed by
GitHub
parent
1c06d25d9d
commit
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)),
|
||||
|
||||
Reference in New Issue
Block a user