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: use correct stop signal in php cli for faster termination #989

Merged
merged 1 commit into from May 16, 2024

Conversation

rocketeerbkw
Copy link
Member

The sleep script in the commons image checks for the SIGTERM signal, but the php-cli images specify SIGQUIT which causes unnecessary delay in termination. This PR sets the correct signal for php-cli images.

Tested locally with docker-compose. Before it would wait up to 20 seconds for the cli to terminate, after it is practically instant.

Closes #976.

@tobybellwood tobybellwood merged commit 2e1d9a8 into main May 16, 2024
1 check passed
@tobybellwood tobybellwood deleted the 976-php-cli-slow-terminate branch May 16, 2024 00:59
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.

Lagoon PHP CLI images slow termination
2 participants