From 8ad349f1b7805515aead12eab4d0eba17c868f6f Mon Sep 17 00:00:00 2001 From: Brian White Date: Fri, 30 Sep 2016 06:10:07 -0400 Subject: [PATCH] cluster: remove unused backlog argument --- lib/cluster.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/cluster.js b/lib/cluster.js index 05397ca69fba7f..67e8833941789a 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); }