19 lines
620 B
Python
19 lines
620 B
Python
"""
|
|
backend/app/jobs/handlers/file_check_run.py
|
|
|
|
用途:文件检核异步执行 handler。
|
|
逻辑:Wave 4 替代 api/file_check_tools 内 threading.Thread。
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from app.jobs.context import JobContext
|
|
from app.jobs.registry import register_handler
|
|
from app.jobs.types import JobType
|
|
|
|
|
|
@register_handler(JobType.FILE_CHECK_RUN)
|
|
def run_file_check(ctx: JobContext, payload: dict) -> None:
|
|
"""执行异步文件检核。"""
|
|
ctx.logger.info('file_check_run handler skeleton invoked payload=%s', payload)
|
|
raise NotImplementedError('file_check_run handler pending Wave 4')
|