Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <mrcroxx@outlook.com>
  • Loading branch information
MrCroxx committed Jun 24, 2024
1 parent 6c7fcae commit 9d62aef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions foyer-bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,7 @@ fn setup() {
fn setup() {
use minitrace::collector::Config;
let reporter = minitrace_jaeger::JaegerReporter::new("127.0.0.1:6831".parse().unwrap(), "foyer-bench").unwrap();
minitrace::set_reporter(
reporter,
Config::default().batch_report_interval(Duration::from_millis(1)),
);
minitrace::set_reporter(reporter, Config::default().report_interval(Duration::from_millis(1)));
}

#[cfg(not(any(feature = "tokio-console", feature = "trace", feature = "mtrace")))]
Expand Down

0 comments on commit 9d62aef

Please sign in to comment.