Fix: escape multi-steps issues. (#11016)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-11-05 14:51:00 +08:00
committed by GitHub
parent 1a9215bc6f
commit b86e07088b
7 changed files with 36 additions and 7 deletions

View File

@ -51,7 +51,7 @@ class SyncBase:
self.conf = conf
async def __call__(self, task: dict):
SyncLogsService.start(task["id"])
SyncLogsService.start(task["id"], task["connector_id"])
try:
async with task_limiter:
with trio.fail_after(task["timeout_secs"]):
@ -113,7 +113,7 @@ class S3(SyncBase):
self.conf["bucket_name"],
begin_info
))
SyncLogsService.done(task["id"])
SyncLogsService.done(task["id"], task["connector_id"])
return next_update