From df94be8f3775ec63bbb896070c0565f733fd3033 Mon Sep 17 00:00:00 2001 From: Christopher Brown Date: Fri, 1 Sep 2017 12:09:35 -0500 Subject: [PLT-7055] Modified code arrangement for compatibility with 32-bit ARM (#7281) Squashed commit of the following: commit ba8e052d40f27123fbb5a94e9b30c05f51b90d36 Author: Christopher Brown Date: Fri Sep 1 12:08:57 2017 -0500 style fixes commit 121649f92f313813d9f105ddffb7d02ce5d3736f Author: Syakyr Surani Date: Sat Aug 26 10:19:14 2017 +0800 Added comments for ARM/x86 (32-bit) compatibility commit 4bd13dd0e378cd4866bd5aed762f2b4fb75d7de9 Author: Syakyr Surani Date: Sat Aug 26 05:20:43 2017 +0800 Added comments for ARM/x86 (32-bit) compatibility commit 78027f616ab736076cef0b1fd8b3266b3c3010dc Author: Syakyr Surani Date: Thu Aug 24 03:01:06 2017 +0800 [PLT-7055] Modified code arrangement for compatibility with 32-bit ARM --- app/web_hub.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/web_hub.go') 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 -- cgit v1.2.3-1-g7c22