mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
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:
@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user