mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-30 14:27:02 +08:00
fix
This commit is contained in:
parent
3960d28a10
commit
affa909e17
@ -25,7 +25,7 @@ func (ws *WsServer) ChangeOnlineStatus(concurrent int) {
|
||||
|
||||
for i := 0; i < concurrent; i++ {
|
||||
requestChs[i] = make(chan *pbuser.SetUserOnlineStatusReq, 64)
|
||||
changeStatus[i] = make([]UserState, 100)
|
||||
changeStatus[i] = make([]UserState, 0, 100)
|
||||
}
|
||||
|
||||
mergeTicker := time.NewTicker(time.Second)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user