From 872239876e1f1222ca7c13e0f7d3cad799f111cf Mon Sep 17 00:00:00 2001 From: Ranjan Shrestha Date: Thu, 9 Jul 2026 12:21:08 +0545 Subject: [PATCH] chore(celery): allow one task to run at a time for content extraction --- apps/common/management/commands/run_celery_dev.py | 2 +- helm/snapshots/alpha.yaml | 2 +- helm/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/common/management/commands/run_celery_dev.py b/apps/common/management/commands/run_celery_dev.py index 195e76a..bdf4a76 100644 --- a/apps/common/management/commands/run_celery_dev.py +++ b/apps/common/management/commands/run_celery_dev.py @@ -8,7 +8,7 @@ WORKER_STATE_DIR = Path("/var/run/celery") -CMD = "celery -A main worker -E --concurrency=2 -l info" +CMD = "celery -A main worker -E --concurrency=1 -l info" def restart_celery(*args: typing.Any, **kwargs: typing.Any) -> None: diff --git a/helm/snapshots/alpha.yaml b/helm/snapshots/alpha.yaml index a363c71..e97dadc 100644 --- a/helm/snapshots/alpha.yaml +++ b/helm/snapshots/alpha.yaml @@ -696,7 +696,7 @@ spec: - -Q - default - --concurrency - - "4" + - "1" - --max-tasks-per-child - "10" image: "SET-BY-CICD-IMAGE:SET-BY-CICD-TAG" diff --git a/helm/values.yaml b/helm/values.yaml index 7b69bf2..362d68a 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -111,7 +111,7 @@ app: - "-Q" - "default" - "--concurrency" - - "4" + - "1" - "--max-tasks-per-child" - "10"