Skip to content

Conversation

@JoeSouthan
Copy link
Contributor

@JoeSouthan JoeSouthan commented Feb 20, 2025

Rack::Puma::Handler will trap signals which prevents que from receiving the SIGINT and SIGTERM signals - causing K8s to eventually SIGTERM the pods after some time.

Inspired by Capybara

`Rack::Puma::Handler` will `trap` signals which prevents que from
receiving the SIGINT and SIGTERM signals - causing K8s to eventually
SIGTERM the pods after some time.
@stephenbinns
Copy link
Contributor

Couldn't see anything in the spec https://github.com/teamcapybara/capybara/blob/0480f90168a40780d1398c75031a255c1819dce8/spec/server_spec.rb but can we write a test for this?

@JoeSouthan JoeSouthan force-pushed the joesouthan-puma-server branch from 4563c31 to 4c1af58 Compare February 20, 2025 20:26
Copy link
Contributor

@stephenbinns stephenbinns left a comment

Choose a reason for hiding this comment

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

Nice one

@JoeSouthan JoeSouthan merged commit 3808c8e into master Feb 21, 2025
9 checks passed
@JoeSouthan JoeSouthan deleted the joesouthan-puma-server branch February 21, 2025 09:45
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.

4 participants