You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/ApiCallTimeoutTrackingStage.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ private Exception translatePipelineException(RequestExecutionContext context, Ex
111
111
// but before we called timeoutTracker.cancel(). Note that if hasExecuted() returns true, its guaranteed that
112
112
// the timeout tracker has set the interrupt flag, and if it returns false, it guarantees that it did not and
113
113
// will never set the interrupt flag.
114
-
if (context.apiCallTimeoutTracker().hasExecuted()) {
114
+
if (apiCallTimerExecuted(context)) {
115
115
// Clear the interrupt flag. Since we already have an exception from the call, which may contain information
116
116
// that's useful to the caller, just return that instead of an ApiCallTimeoutException.
0 commit comments