Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out reference counting to explicit API #3081

Merged
merged 9 commits into from
Jun 5, 2023
Prev Previous commit
Next Next commit
Fixing helper.
raphw committed May 26, 2023

Unverified

This user has not yet uploaded their public signing key.
commit 71ab7321367a928ff5ed0b1a458062baec2029c3
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ public static GrpcHelper getInstance() {
private final Tracer tracer;

public GrpcHelper() {
Tracer tracer = GlobalTracer.get();
tracer = GlobalTracer.get();
clientCallSpans = tracer.createReferenceCounter();
delayedClientCallSpans = tracer.createReferenceCounter();
clientCallListenerSpans = tracer.createReferenceCounter();
@@ -103,8 +103,6 @@ public GrpcHelper() {

headerSetter = new GrpcHeaderSetter();
headerGetter = new GrpcHeaderGetter();

tracer = GlobalTracer.get();
}

// transaction management (server part)