zhaoyongjie commented on pull request #13830:
URL: https://github.com/apache/superset/pull/13830#issuecomment-817156611


   Hi @cabo40,
   
   Sorry, please abort my earlier reply, I reproduced the problem, but it 
doesn't seem to be caused by the global async query. Here is my configuration 
for reproducing this issue
   
   ```
   import os
   from cachelib.redis import RedisCache
   
   
   SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@localhost/superset'
   
   REDIS_HOST = os.environ.get("REDIS_HOST", "localhost")
   REDIS_PORT = os.environ.get("REDIS_PORT", "6379")
   REDIS_CELERY_DB = os.environ.get("REDIS_CELERY_DB", 2)
   REDIS_RESULTS_DB = os.environ.get("REDIS_RESULTS_DB", 3)
   
   
   class CeleryConfig(object):
       BROKER_URL = f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_CELERY_DB}"
       CELERY_IMPORTS = ("superset.sql_lab",)
       CELERY_RESULT_BACKEND = 
f"redis://{REDIS_HOST}:{REDIS_PORT}/{REDIS_RESULTS_DB}"
       CONCURRENCY = 1
   
   
   CELERY_CONFIG = CeleryConfig
   RESULTS_BACKEND = RedisCache(
       host=REDIS_HOST,
       port=REDIS_PORT,
       db=REDIS_RESULTS_DB,
   )
   
   ```
   
   
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to