From 47fc9ec75c84d2309026ac36b143e5f82971a2ac Mon Sep 17 00:00:00 2001 From: John Smith Date: Wed, 20 Jul 2022 10:37:39 -0400 Subject: [PATCH] fix span --- veilid-core/src/rpc_processor/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/veilid-core/src/rpc_processor/mod.rs b/veilid-core/src/rpc_processor/mod.rs index e214b138..46c48efc 100644 --- a/veilid-core/src/rpc_processor/mod.rs +++ b/veilid-core/src/rpc_processor/mod.rs @@ -877,8 +877,8 @@ impl RPCProcessor { while let Ok(Ok((span_id, msg))) = receiver.recv_async().timeout_at(stop_token.clone()).await { - let rpc_worker_span = span!(parent: span_id, Level::TRACE, "rpc_worker"); - //rpc_worker_span.follows_from(span_id); + let rpc_worker_span = span!(parent: None, Level::TRACE, "rpc_worker"); + rpc_worker_span.follows_from(span_id); let _enter = rpc_worker_span.enter(); let _ = self