mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat: rename TABLE_NAMES_CACHE_CONFIG to DATA_CACHE_CONFIG (#11509)
* feat: rename TABLE_NAMES_CACHE_CONFIG to DATA_CACHE_CONFIG The corresponding cache will now also cache the query results. * Slice use DATA_CACHE_CONFIG CACHE_DEFAULT_TIMEOUT * Add test for default cache timeout * rename FAR_FUTURE to ONE_YEAR_IN_SECS
This commit is contained in:
@@ -160,7 +160,7 @@ class BaseScreenshot:
|
||||
logger.error("Failed at resizing thumbnail %s", ex)
|
||||
payload = None
|
||||
|
||||
if payload and cache:
|
||||
if payload:
|
||||
logger.info("Caching thumbnail: %s", cache_key)
|
||||
cache.set(cache_key, payload)
|
||||
logger.info("Done caching thumbnail")
|
||||
|
||||
Reference in New Issue
Block a user