fix process count bug
This commit is contained in:
parent
f761eab1b4
commit
6533367fa0
1 changed files with 0 additions and 4 deletions
|
|
@ -430,8 +430,4 @@ class DocumentService:
|
||||||
upload_task.failed_files += 1
|
upload_task.failed_files += 1
|
||||||
finally:
|
finally:
|
||||||
file_task.updated_at = time.time()
|
file_task.updated_at = time.time()
|
||||||
upload_task.processed_files += 1
|
|
||||||
upload_task.updated_at = time.time()
|
upload_task.updated_at = time.time()
|
||||||
|
|
||||||
if upload_task.processed_files >= upload_task.total_files:
|
|
||||||
upload_task.status = TaskStatus.COMPLETED
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue