Skip to content

Commit 7868fa9

Browse files
Prepare for comprehensive round-robin algorithm documentation
- Add spacing to empty comment lines for retry_with_round_robin and get_next_endpoint - Ready to add detailed explanations of the round-robin algorithm Co-Authored-By: Ali <[email protected]>
1 parent e9a6144 commit 7868fa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agent/utils/rpc_multi_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub struct RpcMultiClient {
6767
}
6868

6969
impl RpcMultiClient {
70-
///
70+
///
7171
async fn retry_with_round_robin<'a, T, F>(
7272
&'a self,
7373
operation_name: &str,
@@ -128,7 +128,7 @@ impl RpcMultiClient {
128128
)
129129
}
130130

131-
///
131+
///
132132
async fn get_next_endpoint(&self) -> Option<usize> {
133133
let mut state = self.round_robin_state.lock().await;
134134
let now = Instant::now();

0 commit comments

Comments
 (0)