Skip to content
Snippets Groups Projects
Commit 300a23c6 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

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.
parent 64b66c85
No related branches found
Tags webext-0.0.6
No related merge requests found
......@@ -24,8 +24,6 @@ Config.prototype.defaultBrokerPollInterval = 300.0 * 1000;
Config.prototype.maxNumClients = 1;
Config.prototype.connectionsPerClient = 1;
// TODO: Different ICE servers.
Config.prototype.pcConfig = {
iceServers: [
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment