Skip to content

Commit

Permalink
Fixed wrong connected client count
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Aug 25, 2024
1 parent 08681e4 commit e421672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GuildWarsPartySearch.NodeJSServer/server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ function send_stats(request_or_websocket = null) {
const data = {
started_at:started_at,
memoryUsage:memoryUsage,
connected_clients:Object.values(wss.clients).length
connected_clients:wss.clients.size
};
send_json(request_or_websocket,data);
}
Expand Down

0 comments on commit e421672

Please sign in to comment.