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

Example with memory instead of redis? #4

Open
PunkChameleon opened this issue Mar 16, 2014 · 3 comments
Open

Example with memory instead of redis? #4

PunkChameleon opened this issue Mar 16, 2014 · 3 comments

Comments

@PunkChameleon
Copy link

I think it could be helpful!

@max-degterev
Copy link

Agree on that, I don't want to install redis just for rate limiting, and it's not something I want to persist across processes/apps. Is there an example how to use it somewhere?

@jbenet
Copy link

jbenet commented Jul 17, 2014

+1

@ghost
Copy link

ghost commented Jul 18, 2014

I agree and example would be good to have. From the code the default handler is the memory not redis.

https://github.com/ivolo/express-rate/blob/master/lib/rate.js#L15

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

3 participants