Skip to content

support maxConnections event on net server

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

I think this could help with the developer experience, when the server connection limit is reached there is not feedback.

At this point, the event is emitted every new connection over the limit, I mean, if the limit is 10, and we get 12 connections, the event will be emitted twice.

Merge request reports

Loading