Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel the archive request when the context is canceled #20

Merged
merged 1 commit into from
Dec 12, 2021

Conversation

lhchavez
Copy link
Member

Previously it was possible for the request to go forever unless there
was an explicit failure in any of the .Write() calls.

This change makes it such that context deadlines can now cause the
request to exit early if possible.

Previously it was possible for the request to go forever unless there
was an explicit failure in any of the `.Write()` calls.

This change makes it such that context deadlines can now cause the
request to exit early if possible.
@lhchavez lhchavez enabled auto-merge (squash) December 12, 2021 20:18
@lhchavez lhchavez merged commit 32b0379 into main Dec 12, 2021
@lhchavez lhchavez deleted the cancel-archive-request-early branch December 12, 2021 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant