Skip to content

Fixed a bug with req count decrementing, wrapped in provider #1

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

Merged
merged 3 commits into from
Dec 15, 2014

Conversation

loosebits
Copy link
Contributor

I was trying your handy interceptor but I noticed the request count was going negative. The bug was due to decrementing the request count even if there were requests in the buffer. I made a change and it seemed to work. I also wrapped it in a provider so you could configure the outstanding request limit.

Sorry, but I didn't update the coffee script (I really need to learn coffee)

Note: coffee code not updated as 1, I don't know coffee script and 2, I'm lazy
mikepugh added a commit that referenced this pull request Dec 15, 2014
Fixed a bug with req count decrementing, wrapped in provider
@mikepugh mikepugh merged commit d0a5374 into mikepugh:master Dec 15, 2014
@mikepugh
Copy link
Owner

Thanks!

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 this pull request may close these issues.

2 participants