Skip to content

Commit

Permalink
transport: bump intial RPC/conn window size to 2MB
Browse files Browse the repository at this point in the history
  • Loading branch information
petermattis authored and andreimatei committed Mar 21, 2017
1 parent c5a5dbc commit 9d55a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transport/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const (
// The default value of flow control window size in HTTP2 spec.
defaultWindowSize = 65535
// The initial window size for flow control.
initialWindowSize = defaultWindowSize // for an RPC
initialConnWindowSize = defaultWindowSize * 16 // for a connection
initialWindowSize = defaultWindowSize * 32 // for an RPC
initialConnWindowSize = defaultWindowSize * 32 // for a connection
infinity = time.Duration(math.MaxInt64)
defaultKeepaliveTime = infinity
defaultKeepaliveTimeout = time.Duration(20 * time.Second)
Expand Down

0 comments on commit 9d55a95

Please sign in to comment.