Skip to content

Commit

Permalink
fix(cache): only warn about fallback cache for non-debug mode (#19305)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored Mar 22, 2022
1 parent b05e7db commit 7ca10fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/utils/cache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _init_cache(
cache_config = app.config[cache_config_key]
cache_type = cache_config.get("CACHE_TYPE")
if required and cache_type in (None, "SupersetMetastoreCache"):
if cache_type is None:
if cache_type is None and not app.debug:
logger.warning(
"Falling back to the built-in cache, that stores data in the "
"metadata database, for the followinng cache: `%s`. "
Expand Down

0 comments on commit 7ca10fb

Please sign in to comment.