Skip to content

Commit 4472fa8

Browse files
Merge branch 'main' into renovate/github.com-cloudquery-plugin-pb-go-1.x
2 parents ee46bc3 + 12beabc commit 4472fa8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

serve/constants.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
const (
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
)

serve/plugin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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{

0 commit comments

Comments
 (0)