这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@edigaryev
Copy link
Collaborator

Resolves #885.

@edigaryev edigaryev requested a review from fkorotkov as a code owner August 9, 2024 18:25
_ = try await registry.pushBlob(fromData: compressedData, chunkSizeMb: chunkSizeMb, digest: compressedDataDigest)
}
} recoverFromFailure: { error in
if error is RuntimeError {
Copy link
Contributor

Choose a reason for hiding this comment

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

Registry can also throw a RegistryError. I wonder if it makes sense to just narrow down the issue to a re-tryable HTTP/Network issue. For example, don't retry authorization. Or maybe retry all the Errors regadless. 🤔

Copy link
Collaborator Author

@edigaryev edigaryev Aug 10, 2024

Choose a reason for hiding this comment

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

I wonder if it makes sense to just narrow down the issue to a re-tryable HTTP/Network issue.

Implemented in 4191fef.

Also mirrored the same logic on the tart pull side of things.

@fkorotkov fkorotkov merged commit 106eb5a into main Aug 10, 2024
@fkorotkov fkorotkov deleted the retry-on-push branch August 10, 2024 17:06
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.

'Error: The request timed out.' on tart push

3 participants