From 92e0ace347d8e2c61d110328b473ca9609814ae8 Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Wed, 11 Feb 2026 19:53:12 +0000 Subject: [PATCH] [countersyncd]: Fix cargo bench compiling error **What I did** Remove deprecated parameters. **Why I did it** The parameter, print_to_console, has been removed, but the CI will not run any bench program, so this error was ignored. **How I verified it** Run cargo locally **Details if related** --- crates/countersyncd/benches/end_to_end.rs | 1 - crates/countersyncd/benches/otel_actor_perf.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/crates/countersyncd/benches/end_to_end.rs b/crates/countersyncd/benches/end_to_end.rs index 8ab82d44..b3cede63 100644 --- a/crates/countersyncd/benches/end_to_end.rs +++ b/crates/countersyncd/benches/end_to_end.rs @@ -142,7 +142,6 @@ async fn run_end_to_end(prepared: PreparedDataset, endpoint: String, exports_cou let counter_handle = tokio::spawn(async move { counter_actor.run().await }); let otel_cfg = OtelActorConfig { - print_to_console: false, collector_endpoint: endpoint.clone(), max_counters_per_export: 10_000, flush_timeout: Duration::from_secs(1), diff --git a/crates/countersyncd/benches/otel_actor_perf.rs b/crates/countersyncd/benches/otel_actor_perf.rs index 29ce285b..e6333c55 100644 --- a/crates/countersyncd/benches/otel_actor_perf.rs +++ b/crates/countersyncd/benches/otel_actor_perf.rs @@ -86,7 +86,6 @@ async fn run_stream(prepared: PreparedDataset, endpoint: String) -> (std::time:: let (shutdown_tx, _shutdown_rx) = oneshot::channel(); let cfg = OtelActorConfig { - print_to_console: false, collector_endpoint: endpoint, max_counters_per_export: 10_000, flush_timeout: Duration::from_secs(1),