Skip to content

Commit 3d3bce6

Browse files
mscdexFishrock123
authored andcommitted
cluster: remove unused backlog argument
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>
1 parent a6b9ffb commit 3d3bce6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/cluster.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Worker.prototype.isConnected = function isConnected() {
7474

7575
// Master/worker specific methods are defined in the *Init() functions.
7676

77-
function SharedHandle(key, address, port, addressType, backlog, fd, flags) {
77+
function SharedHandle(key, address, port, addressType, fd, flags) {
7878
this.key = key;
7979
this.workers = [];
8080
this.handle = null;
@@ -112,7 +112,7 @@ SharedHandle.prototype.remove = function(worker) {
112112

113113
// Start a round-robin server. Master accepts connections and distributes
114114
// them over the workers.
115-
function RoundRobinHandle(key, address, port, addressType, backlog, fd) {
115+
function RoundRobinHandle(key, address, port, addressType, fd) {
116116
this.key = key;
117117
this.all = {};
118118
this.free = [];
@@ -492,7 +492,6 @@ function masterInit() {
492492
message.address,
493493
message.port,
494494
message.addressType,
495-
message.backlog,
496495
message.fd,
497496
message.flags);
498497
}

0 commit comments

Comments
 (0)