mirror of https://github.com/grpc/grpc-java.git
core: re-add back in orphan wrapper
This commit is contained in:
parent
7daefd75a1
commit
2ce1d370a0
|
|
@ -380,7 +380,7 @@ public abstract class AbstractManagedChannelImplBuilder
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ManagedChannel build() {
|
public ManagedChannel build() {
|
||||||
return new ManagedChannelImpl(
|
return new ManagedChannelOrphanWrapper(new ManagedChannelImpl(
|
||||||
this,
|
this,
|
||||||
buildTransportFactory(),
|
buildTransportFactory(),
|
||||||
// TODO(carl-mastrangelo): Allow clients to pass this in
|
// TODO(carl-mastrangelo): Allow clients to pass this in
|
||||||
|
|
@ -388,7 +388,7 @@ public abstract class AbstractManagedChannelImplBuilder
|
||||||
SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR),
|
SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR),
|
||||||
GrpcUtil.STOPWATCH_SUPPLIER,
|
GrpcUtil.STOPWATCH_SUPPLIER,
|
||||||
getEffectiveInterceptors(),
|
getEffectiveInterceptors(),
|
||||||
CallTracer.getDefaultFactory());
|
CallTracer.getDefaultFactory()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Temporarily disable retry when stats or tracing is enabled to avoid breakage, until we know
|
// Temporarily disable retry when stats or tracing is enabled to avoid breakage, until we know
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue