Minor updates

This commit is contained in:
Yaroslav Kukharuk
2020-10-29 15:47:19 +02:00
parent 97f88cee4c
commit d4a77b07d9
4 changed files with 49 additions and 6 deletions
+4 -3
View File
@@ -37,10 +37,11 @@ class ClientManager {
id = hri.random();
}
const maxSockets = this.opt.max_tcp_sockets;
const maxTcpSockets = this.opt.max_tcp_sockets;
const agent = new TunnelAgent({
clientId: id,
maxSockets: 10,
maxTcpSockets,
});
const client = new Client({
@@ -63,7 +64,7 @@ class ClientManager {
return {
id: id,
port: info.port,
max_conn_count: maxSockets,
max_conn_count: maxTcpSockets,
};
}
catch (err) {