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-interval a fraction of a second? #21

Open
benatkin opened this issue Oct 26, 2018 · 1 comment
Open

retry-interval a fraction of a second? #21

benatkin opened this issue Oct 26, 2018 · 1 comment

Comments

@benatkin
Copy link

This is quite a powerful tool. Thanks for it! I'm using it to do transfers on s3. While setting up retries I noticed that the --retry-interval is a number of seconds, and checked if fractions of a second are allowed using GitHub search, and found it's restricted to integers. I think either the argument could be made to support decimals (0.2 for 200ms) or an additional mutually exclusive argument for the number of milliseconds before retry could be added. I can make a PR, thought I'd ask how you'd like it designed first though.

@shenwei356
Copy link
Owner

shenwei356 commented Oct 26, 2018

Thank you, PR is welcome, it would be string (integer+unit), e.g., 1s, 100ms, 1min, even 1min7s

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