Skip to content

Commit

Permalink
Revert "Fix retries that timeout hanging forever. (#10855)" (#10901)
Browse files Browse the repository at this point in the history
This reverts commit c0a9d31.
  • Loading branch information
larry-safran committed Feb 7, 2024
1 parent 03decaf commit 5faab7f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/main/java/io/grpc/internal/RetriableStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,7 @@ public void run() {
}
}
if (retryFuture != null) {
boolean cancelled = retryFuture.cancel(false);
if (cancelled) {
inFlightSubStreams.decrementAndGet();
}
retryFuture.cancel(false);
}
if (hedgingFuture != null) {
hedgingFuture.cancel(false);
Expand Down

0 comments on commit 5faab7f

Please sign in to comment.