From a0c0d0fcd544c00638b41e41ae7272e0c5ffecfe Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Thu, 17 Jul 2025 15:35:37 +0800 Subject: [PATCH] doc: add debugging steps in api/README.md --- api/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/README.md b/api/README.md index 9308d5dc44..6ab923070e 100644 --- a/api/README.md +++ b/api/README.md @@ -74,7 +74,12 @@ 10. If you need to handle and debug the async tasks (e.g. dataset importing and documents indexing), please start the worker service. ```bash - uv run celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion + uv run celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion,plugin + ``` + + Addition, if you want to debug the celery scheduled tasks, you can use the following command in another terminal: + ```bash + uv run celery -A app.celery beat ``` ## Testing