Fixing Prometheus indicator
This commit is contained in:
parent
c46b70236b
commit
68dfed5fba
@ -283,7 +283,7 @@ export class IoSocketController {
|
||||
}
|
||||
//user leave previous room
|
||||
Client.leave(Client.roomId);
|
||||
this.nbClientsPerRoomGauge.inc({ host: os.hostname(), room: Client.roomId });
|
||||
this.nbClientsPerRoomGauge.dec({ host: os.hostname(), room: Client.roomId });
|
||||
delete Client.roomId;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user