Refactor celery command formatting in docker-compose.yml
Updated the Celery worker command in docker-compose.yml for better readability and consistency using line continuation characters. Ensured no functional changes were introduced during the formatting update.
This commit is contained in:
parent
5537830592
commit
1db400be6f
1 changed files with 7 additions and 7 deletions
|
|
@ -45,13 +45,13 @@ services:
|
||||||
build: .
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
command: >
|
command: >
|
||||||
sh -c "poetry run celery -A evibes worker
|
sh -c "poetry run celery -A evibes worker \
|
||||||
--loglevel=info
|
--loglevel=info \
|
||||||
--concurrency=4
|
--concurrency=4 \
|
||||||
--autoscale=4,2
|
--autoscale=4,2 \
|
||||||
--max-tasks-per-child=100
|
--max-tasks-per-child=100 \
|
||||||
--max-memory-per-child=512000
|
--max-memory-per-child=512000 \
|
||||||
--soft-time-limit=7200
|
--soft-time-limit=7200 \
|
||||||
--time-limit=10800"
|
--time-limit=10800"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue