summaryrefslogtreecommitdiffstats
path: root/app/web_hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/web_hub.go')
-rw-r--r--app/web_hub.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/web_hub.go b/app/web_hub.go
index 0af73f39f..0faa5fc5b 100644
--- a/app/web_hub.go
+++ b/app/web_hub.go
@@ -27,8 +27,10 @@ const (
)
type Hub struct {
- connections []*WebConn
+ // connectionCount should be kept first.
+ // See https://github.com/mattermost/platform/pull/7281
connectionCount int64
+ connections []*WebConn
connectionIndex int
register chan *WebConn
unregister chan *WebConn