mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
chore-web: signal in logs that cache not hit in *Redis* db
This commit is contained in:
parent
be6d15f3fa
commit
e8e6441c88
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ async def render_medium_post_link(path: str, use_cache: bool = True, use_redis:
|
|||
logger.debug(f"Redis cache hit for post_id: {post_id}")
|
||||
|
||||
if not redis_result:
|
||||
logger.debug(f"No cache found, querying...: {post_id}")
|
||||
logger.debug(f"No Redis cache found, querying...: {post_id}")
|
||||
rendered_medium_post = await medium_parser.render_as_html(post_id)
|
||||
logger.debug("Rendered Medium post from HTML template")
|
||||
if redis_available and use_redis:
|
||||
|
|
|
|||
Loading…
Reference in a new issue