Skip to content

Commit e3dd7bf

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

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
@@ -72,8 +72,8 @@ func ConnectToAPI(session *Session) (*grpc.ClientConn, error) {
7272

7373
return api.NewGRPCConnection(
7474
credentials,
75-
grpc.MaxCallRecvMsgSize(math.MaxInt64),
76-
grpc.MaxCallSendMsgSize(math.MaxInt64),
75+
grpc.MaxCallRecvMsgSize(math.MaxInt32),
76+
grpc.MaxCallSendMsgSize(math.MaxInt32),
7777
client.EndpointOverrideOption(endpoint),
7878
)
7979
}

0 commit comments

Comments
 (0)