File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 66
77const (
88 // bufSize used for unit testing grpc server and client
9- testBufSize = 1024 * 1024
10- flushTimeout = 5 * time .Second
11- MaxMsgSize = 100 * 1024 * 1024 // 100 MiB
9+ testBufSize = 1024 * 1024
10+ flushTimeout = 5 * time .Second
11+ MaxGrpcMsgSize = 200 * 1024 * 1024 // 200 MiB
1212)
Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ func (s *PluginServe) newCmdPluginServe() *cobra.Command {
179179 grpc .ChainStreamInterceptor (
180180 logging .StreamServerInterceptor (grpczerolog .InterceptorLogger (logger )),
181181 ),
182- grpc .MaxRecvMsgSize (MaxMsgSize ),
183- grpc .MaxSendMsgSize (MaxMsgSize ),
182+ grpc .MaxRecvMsgSize (MaxGrpcMsgSize ),
183+ grpc .MaxSendMsgSize (MaxGrpcMsgSize ),
184184 )
185185 s .plugin .SetLogger (logger )
186186 pbv3 .RegisterPluginServer (grpcServer , & serversv3.Server {
You can’t perform that action at this time.
0 commit comments