This commit is contained in:
吴晟 Wu Sheng 2024-12-27 12:10:55 +08:00 committed by GitHub
parent 1431cad945
commit b0d5bc16f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -56,8 +56,6 @@ public class ServerInterceptor implements io.grpc.ServerInterceptor {
ContextSnapshot contextSnapshot = ContextManager.capture();
AbstractSpan asyncSpan = span.prepareForAsync();
//Context context = Context.current().withValues(CONTEXT_SNAPSHOT_KEY, contextSnapshot, ACTIVE_SPAN_KEY, asyncSpan);
ServerCall.Listener<REQUEST> listener = Contexts.interceptCall(
Context.current(),
new TracingServerCall<>(call, contextSnapshot, asyncSpan),