diff --git a/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinConsumerDelegate.java b/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinConsumerDelegate.java index 84505d6d2a..149dc8c6e6 100644 --- a/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinConsumerDelegate.java +++ b/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinConsumerDelegate.java @@ -50,7 +50,7 @@ class ZipkinConsumerDelegate implements ZipkinTracingDelegate { } @Override - public synchronized Span createSpan(Invocation invocation) { + public Span createSpan(Invocation invocation) { return handler.handleSend(requestWrapper.invocation(invocation)); } diff --git a/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinProviderDelegate.java b/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinProviderDelegate.java index 48156c57d2..0820f0c8c3 100644 --- a/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinProviderDelegate.java +++ b/handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinProviderDelegate.java @@ -80,7 +80,7 @@ public Tracing tracer() { } @Override - public synchronized Span createSpan(Invocation invocation) { + public Span createSpan(Invocation invocation) { return handler.handleReceive(requestWrapper.invocation(invocation)); }