Skip to content

Commit

Permalink
core: disable usage of PendingCall due to a bug
Browse files Browse the repository at this point in the history
#7259 failed internally and there seems to be a bug. Temporarily disable PendingCall.
  • Loading branch information
dapengzhang0 committed Aug 24, 2020
1 parent e6ab167 commit f36f0e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/io/grpc/internal/ManagedChannelImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,9 @@ private RealChannel(String authority) {
@Override
public <ReqT, RespT> ClientCall<ReqT, RespT> newCall(
MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) {
if (true) { // FIXME(zdapeng): there is a bug for using PendingCall. Temporarily disable it.
return newClientCall(method, callOptions);
}
if (configSelector.get() != INITIAL_PENDING_SELECTOR) {
return newClientCall(method, callOptions);
}
Expand Down

0 comments on commit f36f0e9

Please sign in to comment.