Skip to content

Commit

Permalink
benchmark: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alk888 committed Feb 6, 2024
1 parent fda374f commit ed05391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
start_publisher(
environment.clone(),
&opts,
opts.streams.get(0).unwrap().clone(),
opts.streams.first().unwrap().clone(),
)
.await?;

start_consumer(environment, &opts, opts.streams.get(0).unwrap().clone()).await?;
start_consumer(environment, &opts, opts.streams.first().unwrap().clone()).await?;
loop {
tokio::time::sleep(Duration::from_secs(60)).await;
}
Expand Down

0 comments on commit ed05391

Please sign in to comment.