dosubot[bot] commented on issue #30900: URL: https://github.com/apache/superset/issues/30900#issuecomment-2473044309
<!-- Answer --> Your `superset-config.py` configuration for the Celery `cache-warmup` task looks mostly correct. The `kwargs` parameter is set with the `strategy_name` as `"dummy"`, which is a valid strategy for the cache warm-up task. This strategy will warm up all charts by fetching all charts in the database <sup>[[1]](https://github.com/apache/superset/blob/master/superset/tasks/cache.py)</sup>. If you're still encountering issues, ensure that: 1. **Redis is Running**: Verify that your Redis server is running and accessible at `localhost:6379`. 2. **Celery Worker is Running**: Make sure that your Celery worker is running and configured to use the same `broker_url` and `result_backend`. 3. **Check Logs**: Look at the logs for both Superset and Celery to identify any errors or warnings that might provide more context on the issue. 4. **Task Registration**: Ensure that the `cache-warmup` task is correctly registered and available in your Celery worker. You can list available tasks using the `celery -A superset.tasks worker --loglevel=info` command. If these steps don't resolve the issue, consider checking for any specific error messages in the logs that could indicate the root cause of the problem. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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]
