diff options
author | Brian White <mscdex@mscdex.net> | 2016-09-30 06:10:07 -0400 |
---|---|---|
committer | Franziska Hinkelmann <franzih@chromium.org> | 2016-10-03 12:34:46 +0200 |
commit | 9eb61793bf5b5ee9a7fb3ebf683083152756feee (patch) | |
tree | 09c5fb5ffef608db664c105358b1e1fe67cf566f /lib/cluster.js | |
parent | c32cfcbe39b7d71280958d9644c7eba96dd0fd90 (diff) | |
download | android-node-v8-9eb61793bf5b5ee9a7fb3ebf683083152756feee.tar.gz android-node-v8-9eb61793bf5b5ee9a7fb3ebf683083152756feee.tar.bz2 android-node-v8-9eb61793bf5b5ee9a7fb3ebf683083152756feee.zip |
cluster: remove unused backlog argument
PR-URL: https://github.com/nodejs/node/pull/8877
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'lib/cluster.js')
-rw-r--r-- | lib/cluster.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/cluster.js b/lib/cluster.js index 05397ca69f..67e8833941 100644 --- a/lib/cluster.js +++ b/lib/cluster.js @@ -75,7 +75,7 @@ Worker.prototype.isConnected = function isConnected() { // Master/worker specific methods are defined in the *Init() functions. -function SharedHandle(key, address, port, addressType, backlog, fd, flags) { +function SharedHandle(key, address, port, addressType, fd, flags) { this.key = key; this.workers = []; this.handle = null; @@ -113,7 +113,7 @@ SharedHandle.prototype.remove = function(worker) { // Start a round-robin server. Master accepts connections and distributes // them over the workers. -function RoundRobinHandle(key, address, port, addressType, backlog, fd) { +function RoundRobinHandle(key, address, port, addressType, fd) { this.key = key; this.all = {}; this.free = []; @@ -493,7 +493,6 @@ function masterInit() { message.address, message.port, message.addressType, - message.backlog, message.fd, message.flags); } |