summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-10-28 11:33:33 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-10-28 11:33:35 -0700
commitad61d77fa358be6759cbf52a370ab2e53a83364c (patch)
treed00c201f0335432461a96a5fe8856a4cecc4bf81 /benchmark
parent74d0a077ec278a767925c16f6a664512bd69b838 (diff)
downloadnodejs-ad61d77fa358be6759cbf52a370ab2e53a83364c.tar.gz
nodejs-ad61d77fa358be6759cbf52a370ab2e53a83364c.tar.bz2
nodejs-ad61d77fa358be6759cbf52a370ab2e53a83364c.zip
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.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/idle_server.js b/benchmark/idle_server.js
index 53afc7790..17d11a1f3 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;