Skip to content

Commit 7d170eb

Browse files
committed
fix: align submodule changes to task_manager
1 parent cb1e2d8 commit 7d170eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/task_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def start_rats_task(
8787
only_uploaded_attributes: bool = False,
8888
attribute_id: Optional[str] = None,
8989
) -> int:
90-
if tokenization.is_doc_bin_creation_running(project_id):
90+
if tokenization.is_doc_bin_creation_running_or_queued(project_id, only_running=True):
9191
# at the end of doc bin creation rats will be calculated
9292
return
9393

0 commit comments

Comments
 (0)