Skip to content

Commit 5faab7f

Browse files
authored
Revert "Fix retries that timeout hanging forever. (#10855)" (#10901)
This reverts commit c0a9d31.
1 parent 03decaf commit 5faab7f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/src/main/java/io/grpc/internal/RetriableStream.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,7 @@ public void run() {
195195
}
196196
}
197197
if (retryFuture != null) {
198-
boolean cancelled = retryFuture.cancel(false);
199-
if (cancelled) {
200-
inFlightSubStreams.decrementAndGet();
201-
}
198+
retryFuture.cancel(false);
202199
}
203200
if (hedgingFuture != null) {
204201
hedgingFuture.cancel(false);

0 commit comments

Comments
 (0)