Skip to content

Commit

Permalink
fix(cache): only warn about fallback cache for non-debug mode (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored and michael_hoffman committed Mar 23, 2022
1 parent abba35d commit bbe21a5
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 bbe21a5

Please sign in to comment.