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

builder: initiate image transfers in parallel and make timeout configurable. #126

Merged
merged 6 commits into from
Feb 13, 2024

Conversation

andrewsomething
Copy link
Member

@andrewsomething andrewsomething commented Feb 9, 2024

After resolving #122, we are now properly polling for the status of image transfers. This exposed some issues for users creating large images and distributing them to multiple regions. The transfers are done one at at time. So if the first region errors or times out, the other transfers are never initiated and the initial Droplet is not cleaned up. This PR makes two changes to address this:

  • Transfers are now done in parallel.
  • The transfer timeout is now configurable.
  • An option is provided to not block for the transfers to complete, just initiate and exit.

Closes: #125
Closes: #129

@andrewsomething andrewsomething requested a review from a team February 9, 2024 20:24
@andrewsomething andrewsomething changed the title builder: initiate image transfers in parallel. builder: initiate image transfers in parallel and make timeout configurable. Feb 13, 2024
@andrewsomething andrewsomething merged commit a44326c into main Feb 13, 2024
7 checks passed
@andrewsomething andrewsomething deleted the asb/issues/125 branch February 13, 2024 18:53
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.

20 minutes isn't enough time to transfer images Initiate all transfers before blocking on completion
2 participants