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

Share limits between several routes #7

Closed
g-p-g opened this issue Jun 22, 2014 · 1 comment
Closed

Share limits between several routes #7

g-p-g opened this issue Jun 22, 2014 · 1 comment

Comments

@g-p-g
Copy link
Contributor

g-p-g commented Jun 22, 2014

It looks like the current implementation does not allow sharing a single custom rate limit among several routes (global limits excluded).

For instance, take the example where you have a /slow route limited to 1 request per day. What if I have a second route which I would like to share the limit of 1 request per day along the other /slow route? Right now the code will limit each route to 1 req per day, while it would be useful to allow 1 req per day for all the slow routes combined.

@g-p-g
Copy link
Contributor Author

g-p-g commented Jun 22, 2014

Closing in favour of issue #8

@g-p-g g-p-g closed this as completed Jun 22, 2014
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

1 participant