Changed variable name for multiplexed clients

The variable maxNumClients was unused, while connectionsPerClient was
used for spawning multiple proxyPairs. The former is a more appropriate
name for the multiplexing behaviour we use it for.

Multiplexing now just works thanks to implementing ticket #31310.
This commit is contained in:
Cecylia Bocovich 2019-10-31 12:08:43 -04:00
parent 64b66c855f
commit 300a23c6a0
2 changed files with 1 additions and 3 deletions

View file

@ -119,7 +119,7 @@ class Snowflake {
}
makeProxyPair() {
if (this.proxyPairs.length >= this.config.connectionsPerClient) {
if (this.proxyPairs.length >= this.config.maxNumClients) {
return null;
}
var pair;