Update: Timeout

This commit is contained in:
dx-tan 2023-12-12 17:07:46 +07:00
parent 32baf69c3d
commit b15a81c79e
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ server {
location ~ ^/api {
proxy_pass {{proxy_server}};
proxy_connect_timeout 300;
}
location /static/drf_spectacular_sidecar/ {

View File

@ -87,7 +87,7 @@ services:
command: sh -c "python manage.py collectstatic --no-input &&
python manage.py migrate &&
python manage.py compilemessages &&
gunicorn fwd.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:9000" # pre-makemigrations on prod
gunicorn fwd.asgi:application -k uvicorn.workers.UvicornWorker --timeout 300 -b 0.0.0.0:9000" # pre-makemigrations on prod
# command: sh -c "tail -f > /dev/null"
# minio: