Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gunicorn timeout #524

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Gunicorn timeout #524

merged 2 commits into from
Aug 10, 2023

Conversation

pamelafox
Copy link
Collaborator

Purpose

This PR updates gunicorn.conf.py to have a timeout of 230, the same as the App Service global timeout (due to load balancers: https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/web-apps-performance-faqs#why-does-my-request-time-out-after-230-seconds).

I don't think this improves performance, but at least it is less misleading to see 600 and think that's how long you'll get.

timeout docs here:
https://docs.gunicorn.org/en/stable/settings.html?highlight=timeout#timeout

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type

What kind of change does this Pull Request introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Deploy, app should run

@tonybaloney tonybaloney merged commit 76bb57a into Azure-Samples:main Aug 10, 2023
5 checks passed
HughRunyan pushed a commit to RMI/RMI_chatbot that referenced this pull request Mar 26, 2024
* Gunicorn timeout

* Gunicorn timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants