-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(internal/gensupport): check ctx in chunk retry (#1364)
The select statement is non-deterministic, so currently, if the pause is completed and ALSO the context has been canceled or timeout elapsed, a request may still occur. This PR prevents that circumstance from occurring. Also removed something in a test that seems to be a workaround for the race condition. Inspired by #1359 & #1358.
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters