Skip to content

Commit

Permalink
fix: remove decoding message size limit in telemetry and connector gr…
Browse files Browse the repository at this point in the history
…pc client (#11758)
  • Loading branch information
hzxa21 authored Aug 17, 2023
1 parent cf56e72 commit 0874a48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rpc_client/src/connector_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl ConnectorClient {
}
};
Ok(Self {
rpc_client: ConnectorServiceClient::new(channel),
rpc_client: ConnectorServiceClient::new(channel).max_decoding_message_size(usize::MAX),
endpoint: connector_endpoint.to_string(),
})
}
Expand Down
3 changes: 2 additions & 1 deletion src/rpc_client/src/meta_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,8 @@ impl GrpcMetaClientCore {
let scale_client =
ScaleServiceClient::new(channel.clone()).max_decoding_message_size(usize::MAX);
let backup_client = BackupServiceClient::new(channel.clone());
let telemetry_client = TelemetryInfoServiceClient::new(channel.clone());
let telemetry_client =
TelemetryInfoServiceClient::new(channel.clone()).max_decoding_message_size(usize::MAX);
let system_params_client = SystemParamsServiceClient::new(channel.clone());
let serving_client = ServingServiceClient::new(channel.clone());
let cloud_client = CloudServiceClient::new(channel.clone());
Expand Down

0 comments on commit 0874a48

Please sign in to comment.