Skip to content

Commit

Permalink
Increase gunicorn timeout and workers
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Dec 6, 2024
1 parent efbc22f commit e45bad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project tries to adhere to [Semantic Versioning](https://semver.org/spe
- Intro tour

### Changed
- increased gunicorn timeout and workers

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion compose/production/django/start
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ python /app/manage.py compilemessages
python /app/manage.py collectstatic --noinput --ignore=mvts
python /app/manage.py compress --force
python /app/manage.py collectstatic --noinput --ignore=mvts
/venv/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --timeout=120 --chdir=/app
/venv/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --worker=4 --timeout=240 --chdir=/app

0 comments on commit e45bad7

Please sign in to comment.