Fix gunicorn worker timeout on large file uploads by switching to gevent async workers
All checks were successful
Docker / build (release) Successful in 41s
All checks were successful
Docker / build (release) Successful in 41s
This commit is contained in:
parent
f4052a3d99
commit
8d77299b34
2 changed files with 2 additions and 1 deletions
|
|
@ -5,4 +5,4 @@ python manage.py collectstatic --noinput
|
|||
python manage.py migrate --noinput
|
||||
python manage.py loaddata initial
|
||||
python manage.py create_default_admin
|
||||
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
||||
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3 --worker-class gevent
|
||||
|
|
|
|||
|
|
@ -10,4 +10,5 @@ whitenoise>=6.0
|
|||
psycopg2-binary>=2.9
|
||||
requests>=2.25
|
||||
gunicorn>=21.0
|
||||
gevent>=23.9
|
||||
av>=12.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue