diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-28 11:33:33 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-28 11:33:35 -0700 |
commit | ad61d77fa358be6759cbf52a370ab2e53a83364c (patch) | |
tree | d00c201f0335432461a96a5fe8856a4cecc4bf81 /benchmark/idle_server.js | |
parent | 74d0a077ec278a767925c16f6a664512bd69b838 (diff) | |
download | node-new-ad61d77fa358be6759cbf52a370ab2e53a83364c.tar.gz |
Abstract out net.Server.prototype._rejectPending
Does the same timeout action for maxConnections as it does for EMFILE.
Diffstat (limited to 'benchmark/idle_server.js')
-rw-r--r-- | benchmark/idle_server.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/idle_server.js b/benchmark/idle_server.js index 53afc77901..17d11a1f38 100644 --- a/benchmark/idle_server.js +++ b/benchmark/idle_server.js @@ -11,6 +11,8 @@ server = net.Server(function (socket) { }); +server.maxConnections = 128; + server.listen(9000); var oldConnections, oldErrors; |