bionexit commented on issue #29255:
URL: https://github.com/apache/superset/issues/29255#issuecomment-2168193299

   I installed the redis manually, and update the config as following, but NO 
LUCK
   
   ```
   from celery.schedules import crontab
   
   REDIS_HOST = "localhost"  # Change this to your Redis host
   REDIS_PORT = "6379"       # Change this to your Redis port if different
   REDIS_CELERY_DB = "0"
   REDIS_RESULTS_DB = "1"
   
   class CeleryConfig:
       broker_url = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_CELERY_DB}"
       result_backend = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_RESULTS_DB}"
       beat_schedule = {
           "reports.scheduler": {
               "task": "reports.scheduler",
               "schedule": crontab(minute="*", hour="*"),
           },
           "reports.prune_log": {
               "task": "reports.prune_log",
               "schedule": crontab(minute=0, hour=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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to