fix(http2): rename connection flow control window option to grpc-node.flow_control_window

This commit is contained in:
Koen Rijpstra 2025-06-27 15:11:56 +02:00
parent aeb7a5fd52
commit b69bcad1bb
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
// Send WINDOW_UPDATE now to avoid 65 KB start-window stall.
const defaultWin = http2.getDefaultSettings().initialWindowSize ?? 65535; // 65 535 B
const connWin = options[
'grpc-node.connection_flow_control_window'
'grpc-node.flow_control_window'
] as number | undefined;
if (connWin && connWin > defaultWin) {