mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
The `killTasks` function will kill all the alloc runners task runners. If the task of a task runner has already completed, the killing of the task runner can cause confusion due to the task event showing that the task was signaled even though it is already complete. To prevent this, a check is done when creating the task event to determine if the task has completed. If it has no task event is created and when the task runner is killed, no extra task event is added.
48 KiB
48 KiB