Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo committed Jan 5, 2024
1 parent 9c4840e commit 62166db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ pub async fn work_until(
let should_exit = Arc::new(AtomicBool::new(false));
// Setup the parallel workers for each HTTP2 connection
loop {
if std::time::Instant::now() > dead_line.into() || should_exit.load(Ordering::Relaxed){
if std::time::Instant::now() > dead_line.into() || should_exit.load(Ordering::Relaxed) {
break;
}
let futures = (0..n_http2_parallel)
Expand Down

0 comments on commit 62166db

Please sign in to comment.