- #194

Closed
Otto0913 wants to merge 1 commits from feature/override_subdomain into master
+3 -2
View File
@@ -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;