bouncer: forget to put rx into global statistics.

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2024-04-04 21:37:58 +07:00
parent 63a404d3ae
commit e9f79114d0

View File

@ -324,7 +324,7 @@ function newConn(addr, id, reconn_t = 0) {
client.events.get(data[1]).add(data[2]?.id);
client.send(JSON.stringify(data));
stats[addr].rx++;
stats._global.rx++;
stats[addr].rx++;
// Now count for REQ limit requested by client.