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

Retry uploading release assets if they fail #982

Merged
merged 1 commit into from
Feb 25, 2020

Conversation

alexcrichton
Copy link
Member

This is an attempt to mitigate #978. I'm not really sure if it'll work,
but seems like it's worth trying!

This is an attempt to mitigate bytecodealliance#978. I'm not really sure if it'll work,
but seems like it's worth trying!
console.log("ERROR: ", e.message);
console.log(e.stack);
console.log("RETRYING after 10s");
await sleep(10000)
Copy link
Member

Choose a reason for hiding this comment

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

I guess randomized exponential backoff doesn't really matter in this case, but little lights go off in my head telling me to do that everytime there is a retry loop :-P

Copy link
Member Author

Choose a reason for hiding this comment

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

Heh I agree, I'm hoping a pretty long sleep here is "roughly good enough"

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