mirror of
https://github.com/Yonle/bostr.git
synced 2025-07-21 09:22:48 +02:00
bouncer: forget to put rx into global statistics.
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
@ -324,7 +324,7 @@ function newConn(addr, id, reconn_t = 0) {
|
|||||||
client.events.get(data[1]).add(data[2]?.id);
|
client.events.get(data[1]).add(data[2]?.id);
|
||||||
client.send(JSON.stringify(data));
|
client.send(JSON.stringify(data));
|
||||||
|
|
||||||
stats[addr].rx++;
|
stats._global.rx++;
|
||||||
stats[addr].rx++;
|
stats[addr].rx++;
|
||||||
|
|
||||||
// Now count for REQ limit requested by client.
|
// Now count for REQ limit requested by client.
|
||||||
|
Reference in New Issue
Block a user