From afe710d955dc6fcf39274cf86d9d9dfb7d8ddeb3 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 6 Jun 2024 09:56:21 +0300 Subject: [PATCH] debug-precache --- services/precache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/services/precache.py b/services/precache.py index 8e52fedc..26f4883e 100644 --- a/services/precache.py +++ b/services/precache.py @@ -124,6 +124,7 @@ async def precache_data(): # authors authors_by_id = {} authors = get_with_stat(select(Author).where(Author.user.is_not(None))) + logger.debug(f"{len(authors)} authors connected with authorizer") for author in authors: profile = author.dict() if not isinstance(author, dict) else author author_id = profile.get("id")