searKing commented on issue #1087:
URL:
https://github.com/apache/incubator-brpc/issues/1087#issuecomment-1191154811
> > 加上connect size,maxmessagesize 已
>
> 麻烦问一下是具体哪个参数,我也遇到了
grpc.DialContext的opts增加如下选项 https://github.com/grpc/grpc-go/pull/1210
即可,大小可以根据需要调整:
```go
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(math.MaxInt32),
grpc.MaxCallSendMsgSize(math.MaxInt32)),
grpc.WithInitialConnWindowSize(math.MaxInt32),
grpc.WithInitialWindowSize(math.MaxInt32)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]