Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Resque TERM_CHILD setting #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ssemakov
Copy link

Hi,

I got it needed for myself, but I think it can be useful for everyone else.
The fix based on this article # http://hone.herokuapp.com/resque/2012/08/21/resque-signals.html
and it just adds a new setting term_child which is if set true will pass TERM_CHILD=1 to resque on start and allow handle Resque::TermException in jobs for correct job finishing

Best,
-Simon

@gregory144
Copy link

This would be useful for me too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants