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

[#2997] More resilient uWSGI process/worker management #1589

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

swrichards
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.19%. Comparing base (a5e4938) to head (a9cb072).
Report is 25 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1589      +/-   ##
===========================================
- Coverage    94.22%   94.19%   -0.03%     
===========================================
  Files         1075     1079       +4     
  Lines        39657    39695      +38     
===========================================
+ Hits         37366    37391      +25     
- Misses        2291     2304      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

export UWSGI_HARAKIRI=60 # Kill requests after 60 seconds

# Worker Lifecycle
export UWSGI_MAX_REQUESTS=${UWSGI_MAX_REQUESTS:-100} # Default: restart after 100 requests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this causes problems on AKS, we can make this opt-in via an envvar

@swrichards swrichards force-pushed the 2997-uwsgi-process-management branch from dc3da0b to a9cb072 Compare January 30, 2025 16:11
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