diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-28 22:33:33 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-28 22:33:35 +0400 |
commit | ad61d77fa358be6759cbf52a370ab2e53a83364c (patch) | |
tree | d00c201f0335432461a96a5fe8856a4cecc4bf81 /benchmark | |
parent | 74d0a077ec278a767925c16f6a664512bd69b838 (diff) |
Abstract out net.Server.prototype._rejectPending
Does the same timeout action for maxConnections as it does for EMFILE.
Diffstat (limited to 'benchmark')
-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 53afc77901d..17d11a1f380 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; |