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

Added signal handler installation when running in the foreground #2636

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

pravus
Copy link
Contributor

@pravus pravus commented Apr 3, 2020

When running in a Docker container with the foreground option I noticed that container restarts were taking too long. After a little investigation it seems like the cause is due to the signal handlers not being installed in this mode. After applying this patch I am able to send signals to the proxysql process inside a Docker container and have it respond as needed.

@pondix
Copy link
Contributor

pondix commented Apr 3, 2020

Automated message: PR pending admin approval for build testing

@renecannao
Copy link
Contributor

Thank you for the PR.
I don't remember why years ago I decided to install the signal handler only when running in backgroud... maybe because I assumed it would run in foreground only during testing

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.

3 participants