Skip to content

fix: raise gunicorn --timeout and --graceful-timeout#874

Merged
nimish-ks merged 1 commit into
mainfrom
fix/gunicorn-timeouts
May 6, 2026
Merged

fix: raise gunicorn --timeout and --graceful-timeout#874
nimish-ks merged 1 commit into
mainfrom
fix/gunicorn-timeouts

Conversation

@nimish-ks
Copy link
Copy Markdown
Member

Summary

Raises gunicorn's per-request timeout from 30s to 120s and shutdown drain
from 30s to 90s. Defaults were chopping the largest legitimate requests
and truncating in-flight requests during rolling deploys.

Defaults of 30s cap the longest single request and the SIGTERM drain
window. Heavy `phase secrets list` calls already approach the per-request
limit, and the drain limit truncates in-flight requests during rolling
deploys regardless of the load balancer's deregistration delay.
@nimish-ks nimish-ks requested a review from rohan-chaturvedi May 6, 2026 09:29
@nimish-ks nimish-ks self-assigned this May 6, 2026
@nimish-ks nimish-ks merged commit 22e60c1 into main May 6, 2026
15 checks passed
@nimish-ks nimish-ks deleted the fix/gunicorn-timeouts branch May 6, 2026 15:57
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.

2 participants