From 3dd43006086900b6de2c13ab6b42c8cc357dcb98 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 6 May 2026 10:58:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E5=8E=86=E5=8F=B2=E8=81=94?= =?UTF-8?q?=E7=B3=BB=E4=BA=BA=E5=A4=B4=E5=83=8F=E5=90=8C=E6=AD=A5=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/robot.py b/robot.py index 912a3c7..136a24a 100644 --- a/robot.py +++ b/robot.py @@ -187,6 +187,11 @@ class Robot: "xiuren_download", "shenshi_r15_download", "update_image_cache", + # 联系人头像缓存任务在 2026-05-06 调整过命名: + # 1. 旧键 `sync_contact_avatar_cache` 只存在于历史数据库配置; + # 2. 新键统一使用 `contact_avatar_cache_sync`,避免命名风格前后不一致; + # 3. 这里在启动期顺手清理旧键,避免后台任务页长期出现“数据库有记录、运行态无处理器”的幽灵任务。 + "sync_contact_avatar_cache", ] removed = 0 for job_key in migrated_keys: