-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
lib: emit listening event once when call listen twice #52119
lib: emit listening event once when call listen twice #52119
Conversation
Review requested:
|
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
ae3fc20
to
dae3f7e
Compare
dae3f7e
to
db908c7
Compare
Commit Queue failed- Loading data for nodejs/node/pull/52119 ✔ Done loading data for nodejs/node/pull/52119 ----------------------------------- PR info ------------------------------------ Title lib: emit listening event once when call listen twice (#52119) Author theanarkh (@theanarkh) Branch theanarkh:fix_call_net_listen_twice -> nodejs:main Labels net, author ready Commits 1 - lib: emit listening event once when call listen twice Committers 1 - theanarkh PR-URL: https://github.com/nodejs/node/pull/52119 Reviewed-By: Paolo Insogna Reviewed-By: Matteo Collina ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/52119 Reviewed-By: Paolo Insogna Reviewed-By: Matteo Collina -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - lib: emit listening event once when call listen twice ℹ This PR was created on Sat, 16 Mar 2024 18:40:00 GMT ✔ Approvals: 2 ✔ - Paolo Insogna (@ShogunPanda) (TSC): https://github.com/nodejs/node/pull/52119#pullrequestreview-1942044076 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/52119#pullrequestreview-1942412097 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-03-19T11:23:20Z: https://ci.nodejs.org/job/node-test-pull-request/57835/ - Querying data for job/node-test-pull-request/57835/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/8345768283 |
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
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
Landed in 14de082 |
PR-URL: nodejs#52119 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
PR-URL: #52119 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
PR-URL: #52119 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Currently we can call listen twice with same server in cluster worker. It will make some issues.
listening
event twice(See lib: make sure clear the old timer in http server #52118).make -j4 test
(UNIX), orvcbuild test
(Windows) passes