Sdreamery commented on issue #30003: URL: https://github.com/apache/superset/issues/30003#issuecomment-2306630117
> 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._ I'm sure the Redis configuration is correct, because in the Redis database, you can see that cached data has been written in! Additionally, my Redis configuration comes with a password, so the configuration link should be: Redis://:password@host :port/0 -- 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]
