Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: allow 100m via REST (#11945)
p0nyf8a2db20bee2
diff --git a/backend/server/grpc_routes.go b/backend/server/grpc_routes.goindex 051b859839..2da676d2ec 100644--- a/backend/server/grpc_routes.go+++ b/backend/server/grpc_routes.go@@ -93,7 +93,13 @@ func configureGrpcRouters(// REST gateway proxy.grpcEndpoint := fmt.Sprintf(":%d", profile.Port)- grpcConn, err := grpc.Dial(grpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()))+ grpcConn, err := grpc.Dial(+ grpcEndpoint,+ grpc.WithTransportCredentials(insecure.NewCredentials()),+ grpc.WithDefaultCallOptions(+ grpc.MaxCallRecvMsgSize(100*1024*1024), // Set MaxCallRecvMsgSize to 100M so that users can receive up to 100M via REST calls.+ ),+ )if err != nil {return nil, nil, err}