Options

@worker_killer_max_term: Try kiling child process with SIGTERM in max_term times, then SIGKILL if it still does not die. Please note that setting TERM_CHILD environment variable is required to accept killing the child with SIGTERM. The default is, 10 with TERM_CHILD=1, 0 without TERM_CHILD=1.

@worker_killer_verbose: Verbose log

@worker_killer_logger: Logger instance (default: Resque.logger)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sonots/resque-worker-killer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.