From f87f11e92ce3ccdd38ec82cff182bf5c3fc8a507 Mon Sep 17 00:00:00 2001 From: doufa Date: Fri, 14 Jun 2024 15:06:07 +0800 Subject: [PATCH] chore: make the Celery command more noticeable (#5203) --- api/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api/README.md b/api/README.md index 4ae987522..004c67725 100644 --- a/api/README.md +++ b/api/README.md @@ -67,9 +67,11 @@ flask run --host 0.0.0.0 --port=5001 --debug ``` 8. Setup your application by visiting http://localhost:5001/console/api/setup or other apis... -9. If you need to debug local async processing, please start the worker service by running -`celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail`. -The started celery app handles the async tasks, e.g. dataset importing and documents indexing. +9. If you need to debug local async processing, please start the worker service. + ```bash + celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail + ``` + The started celery app handles the async tasks, e.g. dataset importing and documents indexing. ## Testing