kenho811 commented on issue #20838: URL: https://github.com/apache/superset/issues/20838#issuecomment-1242993442
The below comment solved my problem. https://github.com/apache/superset/issues/13275#issuecomment-864205737 ====== In short, my config file had the below line ``` RESULTS_BACKEND = { "CACHE_TYPE": "SimpleCache", "CACHE_DIR": Path(__file__).parent.joinpath('cache'), "CACHE_KEY_PREFIX": "results_backend", # make sure this string is unique to avoid collisions "CACHE_DEFAULT_TIMEOUT": 86400, # 60 seconds * 60 minutes * 24 hours } ``` The above is wrong, because `RESULTS_BACKEND` does NOT expect a python dictionary.l After changing the above to ``` RESULTS_BACKEND = RedisCache( host="localhost", port=6379, key_prefix="superset_results", default_timeout= 86400, # 60 seconds * 60 minutes * 24 hours ) ``` The issue is resolved. -- 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]
