From dc18dfbb0adc4f9a5b4c8044e05f981d3ab77098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E7=A8=8B?= <1787003204@qq.com> Date: Sat, 21 Sep 2024 17:30:58 +0800 Subject: [PATCH] Enhance Readme Documentation to Clarify the Importance of Celery Service (#8558) --- api/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/README.md b/api/README.md index 70ca2e86a85a7d..bab33f9293a31c 100644 --- a/api/README.md +++ b/api/README.md @@ -65,14 +65,12 @@ 8. Start Dify [web](../web) service. 9. Setup your application by visiting `http://localhost:3000`... -10. If you need to debug local async processing, please start the worker service. +10. If you need to handle and debug the async tasks (e.g. dataset importing and documents indexing), please start the worker service. ```bash poetry run python -m celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion ``` - The started celery app handles the async tasks, e.g. dataset importing and documents indexing. - ## Testing 1. Install dependencies for both the backend and the test environment