mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 23:24:05 +08:00
Fix: Let delete dataset/document to a dedicated thread to avoid blocking othe APIs (#17800)
This commit is contained in:
@@ -169,6 +169,7 @@ def _load_list_datasets_module(monkeypatch, *, kbs, parsing_status_by_kb):
|
||||
monkeypatch,
|
||||
"common.misc_utils",
|
||||
thread_pool_exec=MagicMock(),
|
||||
thread_pool_exec_long_time=MagicMock(),
|
||||
)
|
||||
_stub(
|
||||
monkeypatch,
|
||||
|
||||
Reference in New Issue
Block a user