fix: in standalone mode, the user online status is wrong

This commit is contained in:
withchao
2025-05-16 17:26:52 +08:00
parent 1144076168
commit cd2573534d
10 changed files with 127 additions and 109 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ type WsServer struct {
unregisterChan chan *Client
kickHandlerChan chan *kickHandler
clients UserMap
online *rpccache.OnlineCache
online rpccache.OnlineCache
subscription *Subscription
clientPool sync.Pool
onlineUserNum atomic.Int64