From 9d79a4e5c43b5f0839cf6b41b3f221ade597b5c1 Mon Sep 17 00:00:00 2001 From: Luciano Gervasoni Date: Tue, 15 Jul 2025 01:04:57 +0200 Subject: [PATCH] Workers fix --- app_urls/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_urls/run.sh b/app_urls/run.sh index a593003..21aeb71 100755 --- a/app_urls/run.sh +++ b/app_urls/run.sh @@ -6,5 +6,5 @@ if [ "${DJANGO_DEBUG}" = true ] | [ "${DJANGO_DEBUG}" == "True" ]; then else echo "Running in PROD mode" # Multi-worker - gunicorn core.wsgi:application --bind 0.0.0.0:8000 --timeout 86400 & python manage.py scheduler_worker --worker-ttl 86400 default high & python manage.py scheduler_worker --worker-ttl 86400 low + gunicorn core.wsgi:application --bind 0.0.0.0:8000 --timeout 86400 & python manage.py scheduler_worker -v 2 --fork-job-execution --worker-ttl 86400 default high & python manage.py scheduler_worker -v 2 --fork-job-execution --worker-ttl 86400 low fi