fix: cache key generation (#36225)

This commit is contained in:
Beto Dealmeida
2025-11-25 12:50:00 -05:00
committed by GitHub
parent 8d5d71199a
commit 0c87034b17
7 changed files with 391 additions and 12 deletions

View File

@@ -158,6 +158,8 @@ class QueryCacheManager:
if cache_value := _cache[region].get(key):
logger.debug("Cache key: %s", key)
# Log cache hit for debugging
logger.debug("CACHE GET - Key: %s, Region: %s", key, region)
current_app.config["STATS_LOGGER"].incr("loading_from_cache")
try:
query_cache.df = cache_value["df"]