mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 23:20:25 +08:00
增加RPC消息最大尺寸到512MB
This commit is contained in:
@@ -231,8 +231,8 @@ func (this *RPCClient) init() error {
|
||||
}
|
||||
var conn *grpc.ClientConn
|
||||
var callOptions = grpc.WithDefaultCallOptions(
|
||||
grpc.MaxCallRecvMsgSize(128*1024*1024),
|
||||
grpc.MaxCallSendMsgSize(128*1024*1024),
|
||||
grpc.MaxCallRecvMsgSize(512<<20),
|
||||
grpc.MaxCallSendMsgSize(512<<20),
|
||||
grpc.UseCompressor(gzip.Name),
|
||||
)
|
||||
if u.Scheme == "http" {
|
||||
|
||||
Reference in New Issue
Block a user