refine error log while chunking (#1937)

### What problem does this PR solve?



### Type of change

- [x] Refactoring
This commit is contained in:
Kevin Hu
2024-08-14 11:09:07 +08:00
committed by GitHub
parent d73a75506e
commit da8802d010
2 changed files with 22 additions and 15 deletions

View File

@ -501,7 +501,9 @@ def upload_and_parse():
"callback": dummy,
"parser_config": parser_config,
"from_page": 0,
"to_page": 100000
"to_page": 100000,
"tenant_id": kb.tenant_id,
"lang": kb.language
}
threads.append(exe.submit(FACTORY.get(d["parser_id"], naive).chunk, d["name"], blob, **kwargs))