Sdreamery commented on issue #30003: URL: https://github.com/apache/superset/issues/30003#issuecomment-2309562334
> The warning you're encountering suggests that the rate limiting storage backend is not correctly configured to use Redis. To resolve this, ensure that the `RATELIMIT_STORAGE_URI` is set to your Redis URI in your `superset_config.py` file. > > Here is the relevant configuration you need to add or verify: > > ```python > RATELIMIT_STORAGE_URI = "redis://host:port" > ``` > > Replace `"redis://host:port"` with the actual URI of your Redis server. Additionally, ensure that the `redis` Python package is installed: > > ```shell > pip install Flask-Limiter[redis] > ``` > > This should configure Flask-Limiter to use Redis for rate limiting, avoiding the fallback to in-memory storage [[1]](https://github.com/apache/superset/blob/master/superset/config.py)[[2]](https://github.com/apache/superset/blob/master/tests/integration_tests/superset_test_config.py). > > _To continue talking to [Dosu](https://dosu.dev), mention @dosu._ Sure enough, after setting the parameter RATELIMIT-STORAGE-URI, not only did this problem solve, but another alarm (Warning: root: Class' werkzeug. local. LocalProxy 'is not mapped) also disappeared. Thank you very much! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
