From cbf50c7c2afb5203506e5c186cd42ad62b2058bc Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 18 Sep 2023 11:48:13 +0300 Subject: [PATCH] startup-fix2 --- bot/handlers/handle_startup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/handlers/handle_startup.py b/bot/handlers/handle_startup.py index 2223e4b..1a53211 100644 --- a/bot/handlers/handle_startup.py +++ b/bot/handlers/handle_startup.py @@ -12,6 +12,7 @@ logging.basicConfig(level=logging.INFO) async def revalidate_storage(): # поддерживает консистентность данных btn_ids, _btns = scan(match="btn-*", count=100) + logger.info(f"storage data revalidation for {len(btn_ids)} entries") for btnid in btn_ids: # для каждой ранее созданной кнопки btnid_str = btnid.decode("utf-8").replace("btn-", "")