Update Celery command to use gevent pool

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-28 15:38:51 -03:00
commit 96bb758124

View file

@ -146,7 +146,7 @@ services:
build:
context: ../
dockerfile: base.Dockerfile
command: celery -A langflow.worker.celery_app worker --loglevel=INFO --concurrency=1 -n lf-worker@%h
command: celery -A langflow.worker.celery_app worker --loglevel=INFO --concurrency=2 -n lf-worker@%h --pool=gevent
healthcheck:
test: "exit 0"
deploy: