Skip to content

Commit

Permalink
Remove toplevel span
Browse files Browse the repository at this point in the history
This looks like a probable cause of memory-leaks, since the
span will never complete while the application is running.
  • Loading branch information
jaymell authored and svix-james committed Nov 11, 2024
1 parent f68a124 commit ecfb377
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/svix-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ async fn graceful_shutdown_handler() {
SHUTTING_DOWN.store(true, Ordering::SeqCst)
}

#[tracing::instrument(name = "app_start", level = "trace", skip_all)]
pub async fn run(cfg: Configuration) {
let _metrics = setup_metrics(&cfg);
run_with_prefix(None, cfg, None).await
Expand Down

0 comments on commit ecfb377

Please sign in to comment.