The SDK API endpoint DELETE /datasets/{id}/chunks only updated
database status but did not send cancellation signal via Redis,
causing background tasks to continue and complete.
This fix adds cancel_all_task_of(id) call to properly stop
background parsing tasks, consistent with the web API behavior.
|
||
|---|---|---|
| .. | ||
| apps | ||
| common | ||
| db | ||
| utils | ||
| __init__.py | ||
| constants.py | ||
| ragflow_server.py | ||
| settings.py | ||
| validation.py | ||