Skip to content

Commit

Permalink
cluster: remove unused backlog argument
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
mscdex authored and Fishrock123 committed Oct 11, 2016
1 parent a6b9ffb commit 3d3bce6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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;
Expand Down Expand Up @@ -112,7 +112,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 = [];
Expand Down Expand Up @@ -492,7 +492,6 @@ function masterInit() {
message.address,
message.port,
message.addressType,
message.backlog,
message.fd,
message.flags);
}
Expand Down

0 comments on commit 3d3bce6

Please sign in to comment.