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

Bring back retries when downloading blobs from the Storage cache. #23

Merged
merged 1 commit into from
May 19, 2022

Conversation

tikurahul
Copy link
Collaborator

  • When handing the InputStream to Gradle, we cannot have the
    InputStream flake due to problems fetching blobs, so save them in a
    temporary buffer / file depending on the size.

  • This way once we have the Buffer, we can pass it to Gradle and avoid flakes.

  • a FileHandleInputStream also cleans up after it has been used.

* When handing the `InputStream` to Gradle, we cannot have the
`InputStream` flake due to problems fetching blobs, so save them in a
temporary buffer / file depending on the size.

* This way once we have the `Buffer`, we can pass it to Gradle and avoid flakes.
* a `FileHandleInputStream` also cleans up after it has been used.
Copy link

@mathjeff mathjeff left a comment

Choose a reason for hiding this comment

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

Thanks!

@tikurahul tikurahul merged commit bab179d into androidx:main May 19, 2022
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.

None yet

2 participants