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

Build: use buffered chan for signal notification #5237

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Build: use buffered chan for signal notification #5237

merged 1 commit into from
Apr 22, 2020

Conversation

tri-adam
Copy link
Contributor

While working on #5233, I noticed an un-buffered channel being used with signal.Notify() in another part of the code. Strictly speaking, this could cause a SIGTERM to be missed. Submitting in a separate PR as this is not related to the bug documented in #5231.

@tri-adam tri-adam self-assigned this Apr 22, 2020
Copy link
Contributor

@dtrudg dtrudg left a comment

Choose a reason for hiding this comment

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

LGTM

@dtrudg dtrudg added the ci:e2e label Apr 22, 2020
@tri-adam
Copy link
Contributor Author

Blocked until E2E tests are fixed. Working on that in #5238...

@tri-adam tri-adam marked this pull request as draft April 22, 2020 21:37
@tri-adam tri-adam marked this pull request as ready for review April 22, 2020 22:31
@tri-adam tri-adam merged commit 7262df9 into apptainer:master Apr 22, 2020
@tri-adam tri-adam deleted the buffered-sig-chan branch April 22, 2020 22:32
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.

2 participants