Skip to content

Commit 8b0b2b4

Browse files
committed
fix: 修复文档同步文档状态错误 (#942)
(cherry picked from commit 59af953)
1 parent de6b442 commit 8b0b2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dataset/serializers/document_serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def sync(self, with_valid=True, with_embedding=True):
365365
if document.type != Type.web:
366366
return True
367367
try:
368-
document.status = Status.embedding
368+
document.status = Status.queue_up
369369
document.save()
370370
source_url = document.meta.get('source_url')
371371
selector_list = document.meta.get('selector').split(

0 commit comments

Comments
 (0)