def setup_death_penalty(self):
        signal.signal(signal.SIGALRM, self.handle_death_penalty)
        signal.alarm(self._timeout)
Sets up an alarm signal and a signal handler that raises
dataset/ETHPy150Open bretth/django-pq/pq/timeouts.py/death_penalty_after.setup_death_penalty