Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to set limit of Erizos per Room #1193

Merged
merged 4 commits into from
Apr 11, 2018

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Apr 11, 2018

Description

Add an option in the config file to set a limit of Erizos per room.
[] It needs and includes Unit Tests

Changes in Client or Server public APIs

Not needed.

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this way to solve this 👍

@@ -82,6 +82,7 @@ config.erizoController.listen_port = 8080; //default value: 8080

config.erizoController.exitOnNuveCheckFail = false; // default value: false
config.erizoController.allowSinglePC = false; // default value: false
config.erizoController.maxErizosInRoom = 0; // default value: 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider maxErizosUsedByRoom

erizos = {},

maxErizos = spec.maxConnections || global.config.erizoController.maxErizosInRoom,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use maxConnections? It's probably clearer if we use a name closer to the one in the config

@jcague jcague merged commit 89be2f6 into lynckia:master Apr 11, 2018
@jcague jcague deleted the update/set_max_erizos_per_room branch April 11, 2018 14:52
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants