From 6effcd3755951b1b352d6a4c128e1b95a7ea9469 Mon Sep 17 00:00:00 2001 From: takatost Date: Sat, 9 Sep 2023 13:48:29 +0800 Subject: [PATCH] feat: optimize celery start cmd (#1129) --- api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/README.md b/api/README.md index c9d2946c5..a60924962 100644 --- a/api/README.md +++ b/api/README.md @@ -52,7 +52,7 @@ flask run --host 0.0.0.0 --port=5001 --debug ``` 7. Setup your application by visiting http://localhost:5001/console/api/setup or other apis... -8. If you need to debug local async processing, you can run `celery -A app.celery worker -Q dataset,generation,mail`, celery can do dataset importing and other async tasks. +8. If you need to debug local async processing, you can run `celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail`, celery can do dataset importing and other async tasks. 8. Start frontend