woom.job.Job.kill

Contents

woom.job.Job.kill#

Job.kill(graceful=True, timeout=10)[source]#

Kill the job, optionally trying graceful termination first

Parameters:
  • graceful (bool) – If True, send SIGTERM first and wait for graceful shutdown

  • timeout (int) – Seconds to wait for graceful shutdown before forcing SIGKILL