feat: add async worker queues and retry controls
This commit is contained in:
@@ -9,7 +9,13 @@ class IAuditService(ABC):
|
||||
"""评查服务接口。"""
|
||||
|
||||
@abstractmethod
|
||||
async def Run(self, DocumentId: int, RuleType: str | None = None, Force: bool = False) -> AuditRunVO:
|
||||
async def Run(
|
||||
self,
|
||||
DocumentId: int,
|
||||
RuleType: str | None = None,
|
||||
Force: bool = False,
|
||||
Speed: str = "normal",
|
||||
) -> AuditRunVO:
|
||||
"""触发文档评查。"""
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user