-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Allow customization of max WS connections. #8257
Conversation
parity/cli/mod.rs
Outdated
"--ws-max-connections=[CONN]", | ||
"Maximal number of allowed concurrent WS connections.", | ||
|
||
|
||
["API and console options – IPC"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra empty line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I would like to have a simple test for this. Is it any particular reason why not or is it something I don't understand?
Also I think you need to update the tests for the CI to pass! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Wait a second - did this only allow for settings max WS connections but didn't address the default HTTP connection limit of 250? We don't use WS, only HTTP and have a major need to allow for way more than 250 connections. Major services like mysql often can run right up to the handle limit of 16k or whatever the default is on the OS. |
I guess it's pretty clear from the title. Please create a new issue/PR. |
Closes #8117