Allow people to set backlog. Need a better API.
This commit is contained in:
parent
f61b110cf6
commit
6691aca229
@ -1187,7 +1187,7 @@ Server.prototype._startWatcher = function () {
|
||||
};
|
||||
|
||||
Server.prototype._doListen = function () {
|
||||
listen(this.fd, 128);
|
||||
listen(this.fd, this._backlog || 128);
|
||||
this._startWatcher();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user