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
cluster: respect server.listen() backlog parameter set by workers (credit: @oyyd) #41623
Conversation
|
Review requested: |
Thanks for the contribution, I'll start CI.
FYI, if these changes were taken from @oyyd's PR as they are, @oyyd should remain the commit author. Once you start modifying their changes, add a second author using |
Co-authored-by: @oyyd <oyydoibh@gmail.com>
|
Hi @tniessen, I tried keeping @oyyd's commit, but unfortunately the naming convention in that commit no longer adheres to the I've gone forth and modified the commit to adhere to the naming conventions, and to include I'll review the CI results and resolve any issues in the upcoming days. Thanks again for your help! |
|
Thanks @oyyd for the support! I believe this commit will fix the failing test on the Windows build by forcing round-robin cluster scheduling on Windows, where the default is @tniessen, can I please request CI again? |
|
Hi @tniessen, Thanks for your help! |
|
For sure, sorry that I'm only getting to this now. |
…x typo) Co-authored-by: Tobias Nießen <tniessen@tnie.de>
|
Thanks @tniessen. Please note that an unrelated test is now timing out, most likely running that specific GitHub check again ( |
|
That unfortunately happens a lot. Please ping me again if it fails again. |
|
Merging. Thanks for your contribution! |
This comment has been minimized.
This comment has been minimized.
PR-URL: #41623 Co-authored-by: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
|
Landed in 217366e. |
PR-URL: nodejs#41623 Co-authored-by: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
PR-URL: nodejs#41623 Co-authored-by: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Re-creating the closed pull request #33827 to fix #4056, a bug where the
backlogparameter passed in toserver.listen(handle[, backlog][, callback])from within a Node.js worker process isn't respected. Instead, the default value of511is always set and unable to be overriden.More about the
server.listen()backlogparameter:This PR and all commits were authored by @oyyd. I've updated from
nodejs/masterso it won't be behind any commits, and there were no conflicts.The original PR was closed because a test was failing on Windows. I'd like the opportunity to fix that test. If you could please run Node.js Jenkins on the PR so I can look at the error log in case the test still fails, that would be greatly appreciated.
All thanks go to @oyyd for the original PR.
Checklist:
The text was updated successfully, but these errors were encountered: