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

Timer issue #38

Open
ed4becky opened this issue Nov 1, 2019 · 1 comment
Open

Timer issue #38

ed4becky opened this issue Nov 1, 2019 · 1 comment

Comments

@ed4becky
Copy link

ed4becky commented Nov 1, 2019

With the default timer interval set to 1000, a queue is created and one request per second is sent. All good.

When the queue is empty, clearInterval() is called, but the timer is not set to null.

The next time a request comes in, the request is queued, but the timer fails a null check and is never restarted!

BAsically I can send one flurry of requests, but after the queue is cleared I can't run anymore.

2019-10-31_21-11-42

@misbach
Copy link
Contributor

misbach commented Nov 1, 2019

Thanks for the issue. How would you fix the problem?

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