Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Sep 23, 2024
1 parent 62c5a0f commit 5bdfc3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/common/metrics/src/monitor/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ pub struct TcpConfig {
pub keepalive_duration: Option<Duration>,
}

#[allow(clippy::derivable_impls)]
impl Default for TcpConfig {
fn default() -> Self {
Self {
Expand Down
3 changes: 1 addition & 2 deletions src/storage/compactor/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,7 @@ pub async fn shared_compactor_serve(
);
info!("> version: {} ({})", RW_VERSION, GIT_SHA);

let endpoint_str = opts.proxy_rpc_endpoint.clone();
let grpc_proxy_client = GrpcCompactorProxyClient::new(endpoint_str).await;
let grpc_proxy_client = GrpcCompactorProxyClient::new(opts.proxy_rpc_endpoint.clone()).await;
let system_params_response = grpc_proxy_client
.get_system_params()
.await
Expand Down

0 comments on commit 5bdfc3e

Please sign in to comment.