tullinge / booking

🎫 Bokningssystem för allaktivitetsdag
MIT License
0 stars 1 forks source link

Implement Flask-Limiter (rate limit, using Redis) #28

Closed vilhelmprytz closed 4 years ago

vilhelmprytz commented 4 years ago

I have also put in some values for what might be considered above reasonable values (requests per hour). Please take a look at these numbers, should they be modified?

Fixes #27

vilhelmprytz commented 4 years ago

@einarpersson Also, does the get_client_ip function in components/core.py work in the production environment? It relies on nginx forwarding the user IP to gunicorn/uWSGI.