Browse Source

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>
v7.x
Brian White 8 years ago
committed by James M Snell
parent
commit
424e165df4
  1. 5
      lib/cluster.js

5
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);
}

Loading…
Cancel
Save