Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Use Thread.new to log in the Worker.start signal handler #625

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

Prevents a "log writing failed. can't be called from trap context" error
when sending a TERM or INT signal to a worker

This behavior is explained at https://bugs.ruby-lang.org/issues/7917

Use Thread.new to log in the Worker.start signal handler
Prevents a "log writing failed. can't be called from trap context" error
when sending a TERM or INT signal to a worker

This behavior is explained at https://bugs.ruby-lang.org/issues/7917

lionello commented Sep 2, 2014

+1

LGTM! Please rebase!

Owner

albus522 commented Sep 24, 2014

Threading part is now in master

@albus522 albus522 closed this Sep 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment