Skip to content

Commit 424e165

Browse files
mscdexjasnell
authored andcommitted
cluster: remove unused backlog argument
PR-URL: #8877 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent ebf1ffb commit 424e165

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
@@ -75,7 +75,7 @@ Worker.prototype.isConnected = function isConnected() {
7575

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

78-
function SharedHandle(key, address, port, addressType, backlog, fd, flags) {
78+
function SharedHandle(key, address, port, addressType, fd, flags) {
7979
this.key = key;
8080
this.workers = [];
8181
this.handle = null;
@@ -113,7 +113,7 @@ SharedHandle.prototype.remove = function(worker) {
113113

114114
// Start a round-robin server. Master accepts connections and distributes
115115
// them over the workers.
116-
function RoundRobinHandle(key, address, port, addressType, backlog, fd) {
116+
function RoundRobinHandle(key, address, port, addressType, fd) {
117117
this.key = key;
118118
this.all = {};
119119
this.free = [];
@@ -493,7 +493,6 @@ function masterInit() {
493493
message.address,
494494
message.port,
495495
message.addressType,
496-
message.backlog,
497496
message.fd,
498497
message.flags);
499498
}

0 commit comments

Comments
 (0)