Fix: Let delete dataset/document to a dedicated thread to avoid blocking othe APIs (#17800)

This commit is contained in:
Wang Qi
2026-08-04 19:04:16 +08:00
committed by GitHub
parent fac40e5103
commit f707cca074
4 changed files with 36 additions and 5 deletions

View File

@@ -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,