This needs to be modified if you're using the delayed_job gem. Priority is inverted, so the terminator job needs to be set to a higher number, not lower. Just replace line 14 with this:
Delayed::Job.enqueue(terminator, 10)
A bit more information here.
This needs to be modified if you're using the delayed_job gem. Priority is inverted, so the terminator job needs to be set to a higher number, not lower. Just replace line 14 with this:
A bit more information here.