Skip to content

Use single timeout for reload retries #1128

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

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

ciarams87
Copy link
Contributor

Proposed changes

Problem: NGF doesn't wait long enough for new NGINX workers to start

Solution: Expand the whole reload timeout to cover both waiting for the new worker processes and waiting for the workers to start serving the new configuration.

Testing: Unit testing

Closes #1106

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@ciarams87 ciarams87 requested a review from a team as a code owner October 11, 2023 13:03
@github-actions github-actions bot added the bug Something isn't working label Oct 11, 2023
@ciarams87 ciarams87 force-pushed the fix/increase-worker-timeout branch from ada0861 to 7a95c9f Compare October 12, 2023 14:10
@ciarams87 ciarams87 merged commit 7820c2b into nginx:main Oct 12, 2023
@ciarams87 ciarams87 deleted the fix/increase-worker-timeout branch October 12, 2023 14:49
miledxz added a commit to miledxz/nginx-gateway-fabric that referenced this pull request Jan 14, 2025
* Use single context for reload retries

* Review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NGF doesn't wait long enough for new NGINX workers to start
4 participants