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

Add ability to specify arbitrary delay unit #105

Closed
furiousassault opened this issue Apr 5, 2020 · 1 comment · Fixed by #106
Closed

Add ability to specify arbitrary delay unit #105

furiousassault opened this issue Apr 5, 2020 · 1 comment · Fixed by #106

Comments

@furiousassault
Copy link

Hello. Thank you for your project.

AFAIK, now the delay can only be specified in seconds with a minimum 1. Sometimes it's not quite handy, for example in perf tests to set such big delay.

It would be great to have the possibility to set duration as a string, like "300ms" and then parse that duration via ParseDuration instead of reading int and hardcoding * time.Second.
What do you think?

@jmartin82
Copy link
Owner

It's a great idea, I will add this feature trying to avoid breaking the backward compatibility (at least for now).

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 a pull request may close this issue.

2 participants