Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Allow people to set backlog. Need a better API.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Oct 13, 2010
1 parent f61b110 commit 6691aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ Server.prototype._startWatcher = function () {
};

Server.prototype._doListen = function () {
listen(this.fd, 128);
listen(this.fd, this._backlog || 128);
this._startWatcher();
};

Expand Down

0 comments on commit 6691aca

Please sign in to comment.