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

Enhance nginx drain script #2150

Merged
merged 1 commit into from
Mar 24, 2021
Merged

Conversation

johha
Copy link
Contributor

@johha johha commented Mar 11, 2021

  • A short explanation of the proposed change:
    Further improvements to the nginx drain script:

    • Check pid instead of pidfile to avoid side effects with bpm/monit
    • Reduce check interval to 1 sec
    • Send signal TERM if nginx is still alive after graceful shutdown period
  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

- Check pid instead of pidfile to avoid side effects with bpm/monit
- Reduce check intervall to 1 sec
- Send signal TERM if nginx is still alive after graceful shutdown

Co-authored-by: Philipp Thun <[email protected]>
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/177304081

The labels on this github issue will be updated when the story is started.

@johha johha marked this pull request as ready for review March 19, 2021 14:20
Copy link
Contributor

@MarcPaquette MarcPaquette left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

3 participants