mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
task shutdown_delay will currently only run if there are registered services for the task. This implementation detail isn't explicity stated anywhere and is defined outside of the service stanza. This change moves shutdown_delay to be evaluated after prekill hooks are run, outside of any task runner hooks. just use time.sleep
5.4 KiB
5.4 KiB