style: Run formatting

This commit is contained in:
Jade Ellis
2026-09-11 15:54:42 +01:00
parent 031039e879
commit 71e101a4dc
6 changed files with 29 additions and 26 deletions
+2 -2
View File
@@ -142,8 +142,8 @@ pub fn mark_healthy(&self, server_name: &ServerName) -> bool {
/// Returns a rate-limited error if the remote is unhealthy.
fn ensure_remote_is_healthy(&self, server_name: &ServerName) -> Result<()> {
// Read the backoff window once. The remote can be marked healthy between two
// lookups.
// Read the backoff window once. The remote can be marked healthy
// between two lookups.
let Some(retry_after) = self
.retry_after(server_name)
.filter(|retry_after| !retry_after.is_zero())
@@ -161,8 +161,8 @@ pub async fn handle_outlier_pdu<'a, Pdu>(
}
}
// 4. Reject "due to auth events" if the event doesn't pass auth based on the
// claimed auth events
// 4. Reject "due to auth events" if the event doesn't pass auth based
// on the claimed auth events
debug!("Checking based on auth events");
let mut auth_events_by_key: HashMap<_, _> = HashMap::with_capacity(auth_events.len());
// Build map of auth events
+3 -2
View File
@@ -433,8 +433,9 @@ fn should_attempt_send(
},
});
// Only claim the destination if we are actually going to send. A status
// inserted here without a transaction being queued is never cleared.
// Only claim the destination if we are actually going to send. A
// status inserted here without a transaction being queued is
// never cleared.
if allow {
trace!("Inserting running status for {dest:?}");
entry.or_insert(TransactionStatus::Running);