Minor updates
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user