mirror of
https://github.com/reconurge/flowsint.git
synced 2026-03-09 07:17:07 -05:00
feat: add celery threads
This commit is contained in:
2
Makefile
2
Makefile
@@ -81,7 +81,7 @@ frontend_prod:
|
||||
cd $(PROJECT_ROOT)/flowsint-app && npm run build
|
||||
|
||||
celery:
|
||||
cd $(PROJECT_ROOT)/flowsint-core && poetry run celery -A flowsint_core.core.celery worker --loglevel=info --pool=solo
|
||||
cd $(PROJECT_ROOT)/flowsint-core && poetry run celery -A flowsint_core.core.celery worker --loglevel=info --pool=threads --concurrency=10
|
||||
|
||||
run:
|
||||
@echo "🐙 Starting all services..."
|
||||
|
||||
@@ -110,7 +110,7 @@ services:
|
||||
target: dev
|
||||
container_name: flowsint-celery-dev
|
||||
restart: unless-stopped
|
||||
command: celery -A flowsint_core.core.celery worker --loglevel=info --pool=solo
|
||||
command: celery -A flowsint_core.core.celery worker --loglevel=info --pool=threads --concurrency=10
|
||||
volumes:
|
||||
- ./flowsint-api:/app/flowsint-api
|
||||
- ./flowsint-core:/app/flowsint-core
|
||||
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
target: prod
|
||||
container_name: flowsint-celery-prod
|
||||
restart: always
|
||||
command: celery -A flowsint_core.core.celery worker --loglevel=info --pool=solo
|
||||
command: celery -A flowsint_core.core.celery worker --loglevel=info --pool=threads --concurrency=10
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user