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

Redis backend configuration #11

Closed
nocturn9x opened this issue Aug 29, 2020 · 2 comments
Closed

Redis backend configuration #11

nocturn9x opened this issue Aug 29, 2020 · 2 comments

Comments

@nocturn9x
Copy link

By reading the source code I figured out that it's possible to setup a redis server to be used as a temporary storage for rate limiting data, but I couldn't figure out how to actually use it with slowapi, is there anything I need to configure/import?

@laurentS
Copy link
Owner

Yes, you can. Take a look at this other issue which gives an example. The url for redis should use this format: redis://hostname:port.

I'll add an example to the readme (and the docs ;) )

@nocturn9x
Copy link
Author

Marvelous, 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

No branches or pull requests

2 participants