This commit is contained in:
1
cache/cache.py
vendored
1
cache/cache.py
vendored
@@ -318,6 +318,7 @@ async def get_cached_follower_authors(author_id: int):
|
||||
logger.debug(f"[get_cached_follower_authors] Cache HIT for {cache_key}: {len(authors_ids)} authors")
|
||||
else:
|
||||
logger.debug(f"[get_cached_follower_authors] Cache MISS for {cache_key}, querying DB")
|
||||
logger.info("[get_cached_follower_authors] Cache MISS - this should happen after follow/unfollow operations")
|
||||
# Query authors from database
|
||||
with local_session() as session:
|
||||
authors_ids = [
|
||||
|
||||
Reference in New Issue
Block a user