Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have run_single_worker.rb setup signal traps
Instead of the run_single_worker.rb script calling `.start_worker` on the Runner class, have it instantiate a new class, call `#setup_sigterm_trap` on that instance, and then call start (effectively `start_worker`, just adds the `#setup_sigterm_trap` call in the middle)
- Loading branch information