Skip to content

Commit 2591ac6

Browse files
committed
fix(grpc): Decrease to int32 as maximum since we are also creating 32bit builds
1 parent e3dd7bf commit 2591ac6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/agent/start.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ func ConnectToAPI(session *Session) (*grpc.ClientConn, error) {
8686
}
8787
return api.NewGRPCConnection(
8888
credentials,
89-
grpc.MaxCallRecvMsgSize(math.MaxInt64),
90-
grpc.MaxCallSendMsgSize(math.MaxInt64),
89+
grpc.MaxCallRecvMsgSize(math.MaxInt32),
90+
grpc.MaxCallSendMsgSize(math.MaxInt32),
9191
client.EndpointOverrideOption(endpoint),
9292
)
9393
}

0 commit comments

Comments
 (0)