server.maxConnections


设置此属性以在服务器的连接计数变高时拒绝连接。

一旦套接字已发送给具有 child_process.fork() 的子进程,则不建议使用此选项。

Set this property to reject connections when the server's connection count gets high.

It is not recommended to use this option once a socket has been sent to a child with child_process.fork().