mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2936 from murgatroid99/grpc-js_disable_nagle
grpc-js: Disable Nagle's algorithm
This commit is contained in:
commit
6f916c9a9e
|
@ -763,6 +763,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
|
|||
await secureConnector.waitForReady();
|
||||
this.trace(addressString + ' secureConnector is ready');
|
||||
tcpConnection = await this.tcpConnect(address, options);
|
||||
tcpConnection.setNoDelay();
|
||||
this.trace(addressString + ' Established TCP connection');
|
||||
secureConnectResult = await secureConnector.connect(tcpConnection);
|
||||
this.trace(addressString + ' Established secure connection');
|
||||
|
|
Loading…
Reference in New Issue