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

fix: properly handle system signals in pwa docker container #1471

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Aug 7, 2023

PR Type

[x] Bugfix

What Is the Current Behavior?

When trying to stop the PWA running with docker or kubernetes, it always takes some time (~10 seconds) for the container to stop. That's because the grace period times out and the container is killed.

What Is the New Behavior?

Signals are properly propagated to the running process:

  • using exec in scripts
  • using tini for standalone node processes

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#88361

@dhhyi dhhyi added the bug Something isn't working label Aug 7, 2023
@dhhyi dhhyi self-assigned this Aug 7, 2023
@dhhyi dhhyi requested a review from shauke August 11, 2023 04:54
@dhhyi dhhyi marked this pull request as ready for review August 11, 2023 04:54
@dhhyi dhhyi removed their assignment Aug 11, 2023
@shauke shauke added this to the 4.2 milestone Aug 14, 2023
@shauke shauke merged commit 2b9d8ea into develop Aug 15, 2023
@shauke shauke deleted the fix/pwa-signals branch August 15, 2023 07:45
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.

2 participants