From 6c04faf97bd8065c318afb83265ac885ccda9ae3 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Wed, 7 May 2025 04:12:35 +0300 Subject: [PATCH] Simplify Celery command formatting in docker-compose.yml Consolidate the Celery worker command into a single line for improved readability and maintainability. This change reduces unnecessary line breaks without altering functionality. --- docker-compose.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 99fa3b1e..ebecc246 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,14 +45,7 @@ services: build: . restart: always command: > - sh -c "poetry run celery -A evibes worker \ - --loglevel=info \ - --concurrency=4 \ - --autoscale=4,2 \ - --max-tasks-per-child=100 \ - --max-memory-per-child=512000 \ - --soft-time-limit=7200 \ - --time-limit=10800" + sh -c "poetry run celery -A evibes worker --loglevel=info --concurrency=4 --autoscale=4,2 --max-tasks-per-child=100 --max-memory-per-child=512000 --soft-time-limit=7200 --time-limit=10800" volumes: - .:/app env_file: