Skip to content

Commit

Permalink
Update be/src/cloud/cloud_meta_mgr.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinchou authored Jan 1, 2025
1 parent 48748f6 commit 8f6312e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions be/src/cloud/cloud_meta_mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,8 @@ class MetaServiceProxy {
}

bool need_reconn(long now) {
return maybe_unhealthy &&
((now - last_reconn_time_ms.front()) >
config::meta_service_rpc_reconnect_interval_ms);
return maybe_unhealthy && ((now - last_reconn_time_ms.front()) >
config::meta_service_rpc_reconnect_interval_ms);
}

Status get(std::shared_ptr<MetaService_Stub>* stub) {
Expand Down

0 comments on commit 8f6312e

Please sign in to comment.