@@ -43,14 +43,6 @@ def get_system_job_definitions(robot) -> List[Dict[str, Any]]:
|
||||
"trigger_config": {"seconds": 300},
|
||||
"handler": _build_process_pending_images_handler(robot),
|
||||
},
|
||||
{
|
||||
"job_key": "sync_contact_avatar_cache",
|
||||
"name": "联系人头像缓存同步",
|
||||
"description": "每 30 分钟增量同步一次联系人头像缓存,避免启动时集中下载",
|
||||
"trigger_type": "every_seconds",
|
||||
"trigger_config": {"seconds": 1800},
|
||||
"handler": robot.sync_contact_avatar_cache,
|
||||
},
|
||||
]
|
||||
|
||||
def _build_process_pending_images_handler(robot) -> Callable[[], Awaitable[None]]:
|
||||
|
||||
Reference in New Issue
Block a user