Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

configurable maxConnections per interface #448

Merged
merged 1 commit into from Apr 14, 2016

Conversation

cfchou
Copy link
Contributor

@cfchou cfchou commented Apr 14, 2016

There's #303 which addresses similar feature. However, I didn't find a PR for that.

In #303, it'd been discussed about removing the cap of maximum connections. The rationale of my modification intended to do the opposite. I want to limit the number of connenctions so that resources can be better managed.

With this PR, now you can set up maxConnections per interface in the config:

{
    //...
    interfaces: [
      { type: "mqtt", port: 1883, maxConnections: 1000 }
    ],
    //...
}

@mcollina
Copy link
Collaborator

👍 thanks!

@mcollina mcollina merged commit 1ff1eb9 into moscajs:master Apr 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants