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

Feature Requests: retry on fetching errors #177

Open
atoomic opened this issue Jul 6, 2020 · 3 comments
Open

Feature Requests: retry on fetching errors #177

atoomic opened this issue Jul 6, 2020 · 3 comments

Comments

@atoomic
Copy link
Contributor

atoomic commented Jul 6, 2020

cpm already provides a retry option but it seems to only retry when configure/build/test/install fails
I would suggest to also retry when fetching the tarball fails, as the http server can misbehave under heavy load and co...
[ maybe in this case give it a few sec before retrying? ]

from --help

        --retry, --no-retry
          retry configure/build/test/install if fails, default: retry
@atoomic
Copy link
Contributor Author

atoomic commented Jul 6, 2020

@skaji would you be open to the idea?

@skaji
Copy link
Owner

skaji commented Jul 6, 2020

retry when fetching the tarball fails

Already retry 3 times.

@atoomic
Copy link
Contributor Author

atoomic commented Jul 6, 2020

mm maybe in this case what would be useful is to be able to increase the number of retry and/or set a timeout?
--retry-max=N [ N default to 3] --retry-timeout=X [X default to X sec]

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

No branches or pull requests

2 participants