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

This commit is contained in:
withchao
2025-05-16 16:26:24 +08:00
parent 5fb6b3adb9
commit e398152da2
4 changed files with 78 additions and 34 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