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

non-positive interval for NewTicker #27

Closed
rogerwelin opened this issue Feb 8, 2021 · 2 comments
Closed

non-positive interval for NewTicker #27

rogerwelin opened this issue Feb 8, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rogerwelin
Copy link
Owner

Cassowary panics when combining the following flags and values:

cassowary run -u http://localhost:5000 -c 2 -n 50000 -d 30
@rogerwelin rogerwelin added the bug Something isn't working label Feb 8, 2021
@rogerwelin rogerwelin self-assigned this Feb 8, 2021
@rogerwelin
Copy link
Owner Author

rogerwelin commented Feb 8, 2021

Root cause is that the combination leads to a 0 value to time.NewTicker which causes the panic. Solution is to validate the requests and duration and output to user

@rogerwelin
Copy link
Owner Author

Fixed in release v0.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant