This is an automated email from the ASF dual-hosted git repository. erikrit pushed a commit to branch erik-ritter--always-create-cache in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 718e29878595c9a92e5ad55b341058accd55be9a Author: Erik Ritter <erik.rit...@airbnb.com> AuthorDate: Fri Jan 24 17:46:49 2020 -0800 [Caching] Ensure cache is always created --- superset/utils/cache_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset/utils/cache_manager.py b/superset/utils/cache_manager.py index cfbeb34..75df8fd 100644 --- a/superset/utils/cache_manager.py +++ b/superset/utils/cache_manager.py @@ -38,8 +38,7 @@ class CacheManager: """Setup the flask-cache on a flask app""" if cache_config: if isinstance(cache_config, dict): - if cache_config.get("CACHE_TYPE") != "null": - return Cache(app, config=cache_config) + return Cache(app, config=cache_config) else: # Accepts a custom cache initialization function, # returning an object compatible with Flask-Caching API