Skip to content

Commit

Permalink
fix: disable telemetry report with madsim (#19890)
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Dec 23, 2024
1 parent fcf0af3 commit eabb2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/node/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ pub async fn start_service_as_election_leader(
} else {
tracing::info!("Telemetry didn't start due to meta backend or config");
}
if report_scarf_enabled() {
if !cfg!(madsim) && report_scarf_enabled() {
tokio::spawn(report_to_scarf());
} else {
tracing::info!("Scarf reporting is disabled");
Expand Down

0 comments on commit eabb2d0

Please sign in to comment.