Skip to content

Commit b69bcad

Browse files
committed
fix(http2): rename connection flow control window option to grpc-node.flow_control_window
1 parent aeb7a5f commit b69bcad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
726726
// Send WINDOW_UPDATE now to avoid 65 KB start-window stall.
727727
const defaultWin = http2.getDefaultSettings().initialWindowSize ?? 65535; // 65 535 B
728728
const connWin = options[
729-
'grpc-node.connection_flow_control_window'
729+
'grpc-node.flow_control_window'
730730
] as number | undefined;
731731

732732
if (connWin && connWin > defaultWin) {

0 commit comments

Comments
 (0)