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

Upgrade async + wrap s3 calls to timeout #310

Merged
merged 2 commits into from
Oct 19, 2016
Merged

Upgrade async + wrap s3 calls to timeout #310

merged 2 commits into from
Oct 19, 2016

Conversation

matteofigus
Copy link
Member

@matteofigus matteofigus commented Oct 18, 2016

As discussed with @jwhayes it seems like there are some edge cases when s3 could not respond with the callback and break the polling mechanism. This shouldn't hurt as it just adds a bit of a extra safety around the s3 calls with a timeout wrapper.

All tests still green and did some manual testing with a real registry instance.

@matteofigus matteofigus changed the title Upgrade async + wrap s3 calls to timeout [wip] Upgrade async + wrap s3 calls to timeout Oct 18, 2016
@matteofigus matteofigus removed the wip label Oct 18, 2016
@matteofigus matteofigus changed the title [wip] Upgrade async + wrap s3 calls to timeout Upgrade async + wrap s3 calls to timeout Oct 18, 2016
Copy link
Contributor

@jwhayes jwhayes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matteofigus matteofigus merged commit 5d07bd9 into master Oct 19, 2016
@matteofigus matteofigus deleted the s3-timeout branch October 19, 2016 09:46
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.

2 participants