Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Increase gunicorn timeout and workers #234

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

tlangs
Copy link
Collaborator

@tlangs tlangs commented Jan 31, 2024

Eeek. Looks like Gunicorn’s default number of workers is 1. 1!!! Which means if it times out, it restarts that worker, and if its the only worker, the entire flask app goes kaput!

Increasing the timeout and workers should help Bond's stability.


Have you read CONTRIBUTING.md lately? If not, do that first.

I, the developer opening this PR, do solemnly pinky swear that:

  • I've followed the instructions if I've made any changes to the API, especially if they're breaking changes

In all cases:

  • Get two thumbsworth of review and PO signoff if necessary.
  • Verify all tests go green
  • Squash and merge; you can delete your branch after this unless it's for a hotfix. In that case, don't delete it!
  • Test this change deployed correctly and works on dev environment after deployment
  • Release to production - Releasing to prod is a manual process (see instructions to release to prod). Either do this now or create a ticket and schedule the release.

@tlangs tlangs merged commit 2ae6113 into develop Feb 1, 2024
6 of 7 checks passed
@tlangs tlangs deleted the tl_ID-1056_bond_gunicorn_tuning branch February 1, 2024 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants