fix: switch to prefork pool to avoid worker disconnects

closes #75
This commit is contained in:
Felix Spöttel
2024-04-16 17:59:08 +02:00
parent a40dbfb9a0
commit 7487914335
5 changed files with 5 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ services:
- "traefik.http.routers.web.rule=(Host(`${TRAEFIK_DOMAIN}`))"
worker:
command: watchmedo auto-restart -d app/worker -p *.py --recursive celery -- --app=app.worker.main.celery worker --loglevel=info --concurrency=1 --pool solo
command: watchmedo auto-restart -d app/worker -p *.py --recursive celery -- --app=app.worker.main.celery worker --loglevel=info --concurrency=1 --pool prefork
volumes:
- ./:/etc/whisperbox-transcribe/