Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 51e01b9

Browse files
committed
Fix Bug
1 parent 34eae94 commit 51e01b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/request_sender.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ impl RequestSender {
5757

5858
use std::sync::atomic::Ordering;
5959
let n = self.inner.client_selection.fetch_add(1, Ordering::Relaxed);
60+
let n = n % self.inner.clients.len();
6061

6162
match self.inner.clients[n]
6263
.request(shared.method, &ctx.target)

0 commit comments

Comments
 (0)