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

Rate limiting count is off by 1 when returning with a valid session #17

Closed
avoidwork opened this issue Nov 2, 2014 · 0 comments
Closed
Assignees
Labels

Comments

@avoidwork
Copy link
Owner

If a session is started, and 'times out' such that the limit is reset, the initial count will be off by 1 upon a subsequent return, e.g. x-rate-remaining: 150 instead of x-rate-remaining: 149 (total being 150).

Effectively, the first request is 'free'.

@avoidwork avoidwork added the bug label Nov 2, 2014
@avoidwork avoidwork self-assigned this Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant