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

Increase gunicorn workers for sources client #4988

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

samdoran
Copy link
Contributor

Description

Currently the sources client uses a single gunicorn worker process. The liveness and readiness probes fail when the single worker process is busy, causing the pod to be restarted.

Set the number of gunicorn workers for the sources client in the same way as other processes by using the value in GUNICORN_WORKERS.

The liveness probe is failing when the single worker process is busy, causing
the pod to be restarted. These changes will increase the gunicorn worker limit,
preventing the restarts.
@samdoran samdoran requested review from a team as code owners March 20, 2024 17:09
@samdoran samdoran added the smoke-tests pr_check will build the image and run minimal required smokes label Mar 20, 2024
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Merging #4988 (39db929) into main (e8024b0) will decrease coverage by 0.0%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #4988     +/-   ##
=======================================
- Coverage   94.1%   94.1%   -0.0%     
=======================================
  Files        375     375             
  Lines      31166   31166             
  Branches    3703    3703             
=======================================
- Hits       29322   29319      -3     
- Misses      1178    1179      +1     
- Partials     666     668      +2     

@samdoran samdoran enabled auto-merge (squash) March 20, 2024 17:30
@samdoran samdoran merged commit f4d77d5 into main Mar 20, 2024
10 of 11 checks passed
@samdoran samdoran deleted the increase-sources-gunicorn-workers branch March 20, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
smoke-tests pr_check will build the image and run minimal required smokes smokes-required
Projects
None yet
2 participants