From f660ecc47fa9fc34dcb1818bbbc945c4dda6c0db Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Fri, 15 Nov 2024 06:11:36 +0100 Subject: [PATCH] fix --- src/docs/guides/django.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/guides/django.md b/src/docs/guides/django.md index 24bb9d02a..e01fd725f 100644 --- a/src/docs/guides/django.md +++ b/src/docs/guides/django.md @@ -312,7 +312,7 @@ Please follow these steps to get it setup on Railway: 5. Create a new service again on the Project Canvas. - Name the service **Worker Service**, and click on **Settings**. - Connect your GitHub repo to the **Source Repo** in the **Source** section. - - Add `celery -A liftoff worker -l info` to the **Custom Start Command** in the **Deploy** section. + - Add `celery -A liftoff worker -l info --concurrency=3` to the **Custom Start Command** in the **Deploy** section. - _Note:_ `liftoff` is the name of the app. - The `--concurrency=3` option here means it can process up to 3 tasks in parallel. You can adjust the [concurrency level](https://docs.celeryq.dev/en/latest/userguide/workers.html#concurrency) based on your system resources. The higher the level, the more memory and resources it consumes. - Head back to the top of the service and click on **Variables**.