Revert "Fix retries that timeout hanging forever. (#10855)" (#10901)

This reverts commit c0a9d315d3.
This commit is contained in:
Larry Safran 2024-02-07 15:05:21 -08:00 committed by GitHub
parent 03decafa1f
commit 5faab7f47e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -195,10 +195,7 @@ abstract class RetriableStream<ReqT> implements ClientStream {
}
}
if (retryFuture != null) {
boolean cancelled = retryFuture.cancel(false);
if (cancelled) {
inFlightSubStreams.decrementAndGet();
}
retryFuture.cancel(false);
}
if (hedgingFuture != null) {
hedgingFuture.cancel(false);