Skip to content

Commit

Permalink
[#4035] fix invocation context loss issue (#4047)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghao605 authored Nov 21, 2023
1 parent 7c95c9e commit 76854ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ZipkinConsumerDelegate implements ZipkinTracingDelegate {
}

@Override
public Span createSpan(Invocation invocation) {
public synchronized Span createSpan(Invocation invocation) {
return handler.handleSend(requestWrapper.invocation(invocation));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public Tracing tracer() {
}

@Override
public Span createSpan(Invocation invocation) {
public synchronized Span createSpan(Invocation invocation) {
return handler.handleReceive(requestWrapper.invocation(invocation));
}

Expand Down

0 comments on commit 76854ff

Please sign in to comment.