Skip to content

Commit

Permalink
Merge pull request #959 from DDMAL/timeout_gunicorn
Browse files Browse the repository at this point in the history
Fix Gunicorn timeout problem
  • Loading branch information
softcat477 authored Jun 19, 2023
2 parents 4102a4a + d577f1e commit fd68f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ sed -i "s/15/999999/g" /code/Rodan/rodan/settings.py
# Usually, unix sockets would be faster but between docker containers, I am not certain because of the
# complexity from volumes. Do not merge other services into the rodan service. We are keeping them isolated
# for scaling in the future. --graceful-timeout 0 --preload True --workers=3
runuser -u root -- /usr/local/bin/gunicorn --name=rodan -b 0.0.0.0:8000 --max-requests 10000 --worker-connections 1001 --log-level=debug --log-file=/code/Rodan/gunicorn-error.log --access-logfile=/code/Rodan/gunicorn-access.log rodan.wsgi_django:application
runuser -u root -- /usr/local/bin/gunicorn --name=rodan -b 0.0.0.0:8000 --timeout 120 --max-requests 10000 --worker-connections 1001 --log-level=debug --log-file=/code/Rodan/gunicorn-error.log --access-logfile=/code/Rodan/gunicorn-access.log rodan.wsgi_django:application

0 comments on commit fd68f5d

Please sign in to comment.