From 1214dc03d96937142ba963ecd4eaa2693a6f06e3 Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 27 Feb 2024 10:53:53 +0300 Subject: [PATCH] less-logs --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index dfac4a5e..f99af7b7 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -136,7 +136,7 @@ async def get_author_follows(_, _info, slug='', user=None, author_id=None): rkey = f'id:{author_id}:follows-authors' logger.debug(f'getting {author_id} follows authors') cached = await redis.execute('GET', rkey) - logger.debug(f'AUTHOR CACHED {cached}') + # logger.debug(f'AUTHOR CACHED {cached}') authors = json.loads(cached) if cached else author_follows_authors(author_id) if not cached: prepared = [author.dict() for author in authors]