Skip to content
Snippets Groups Projects
Commit a77ca8d9 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

made it set connection window size as well

parent e76f6e60
No related branches found
No related tags found
1 merge request!11Release
...@@ -403,6 +403,7 @@ func (h *Host) connectHelper() (err error) { ...@@ -403,6 +403,7 @@ func (h *Host) connectHelper() (err error) {
windowSize := atomic.LoadInt32(h.windowSize) windowSize := atomic.LoadInt32(h.windowSize)
if windowSize != 0 { if windowSize != 0 {
dialOpts = append(dialOpts, grpc.WithInitialWindowSize(windowSize)) dialOpts = append(dialOpts, grpc.WithInitialWindowSize(windowSize))
dialOpts = append(dialOpts, grpc.WithInitialConnWindowSize(windowSize))
} }
// Create the connection // Create the connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment