mirror of https://github.com/grpc/grpc-node.git
grpc-js: Disable Nagle's Algorithm
This commit is contained in:
parent
9652680c5a
commit
6168fe8197
|
@ -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