From 010dac21954a8d5e1e17269a1c974b05294d40ba Mon Sep 17 00:00:00 2001 From: Mario de Frutos Dieguez Date: Thu, 19 Mar 2020 12:57:58 +0100 Subject: [PATCH] Improve the error message when hub is almost full (#14021) Improve the error message when hub is almost full --- app/web_hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/web_hub.go b/app/web_hub.go index 42024a18dd..00ee3e0e75 100644 --- a/app/web_hub.go +++ b/app/web_hub.go @@ -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)),