- #194
@@ -32,9 +32,10 @@ class ClientManager {
|
|||||||
const clients = this.clients;
|
const clients = this.clients;
|
||||||
const stats = this.stats;
|
const stats = this.stats;
|
||||||
|
|
||||||
// can't ask for id already is use
|
// If id is already in use, override id
|
||||||
if (clients[id]) {
|
if (clients[id]) {
|
||||||
id = hri.random();
|
//id = hri.random();
|
||||||
|
this.removeClient(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const maxSockets = this.opt.max_tcp_sockets;
|
const maxSockets = this.opt.max_tcp_sockets;
|
||||||
|
|||||||
Reference in New Issue
Block a user