Worker logs
This commit is contained in:
@@ -6,5 +6,7 @@ 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 -v 2 --traceback --worker-ttl 86400 default high & python manage.py scheduler_worker -v 2 --traceback --worker-ttl 86400 low
|
||||
gunicorn core.wsgi:application --bind 0.0.0.0:8000 --timeout 86400 & \
|
||||
python manage.py scheduler_worker -v 3 --traceback --worker-ttl 86400 default high >> /opt/logs/warning.log 2>&1 & \
|
||||
python manage.py scheduler_worker -v 3 --traceback --worker-ttl 86400 low >> /opt/logs/warning.log 2>&1
|
||||
fi
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
"callable_args": [],
|
||||
"callable_kwargs": [],
|
||||
"enabled": false,
|
||||
"queue": "default",
|
||||
"queue": "low",
|
||||
"repeat": null,
|
||||
"at_front": false,
|
||||
"timeout": 3600,
|
||||
|
||||
Reference in New Issue
Block a user