open-nomad/client/config
Seth Hoenig 5dd8aa3e27 client: enforce max_kill_timeout client configuration
This PR fixes a bug where client configuration max_kill_timeout was
not being enforced. The feature was introduced in 9f44780 but seems
to have been removed during the major drivers refactoring.

We can make sure the value is enforced by pluming it through the DriverHandler,
which now uses the lesser of the task.killTimeout or client.maxKillTimeout.
Also updates Event.SetKillTimeout to require both the task.killTimeout and
client.maxKillTimeout so that we don't make the mistake of using the wrong
value - as it was being given only the task.killTimeout before.
2022-07-06 15:29:38 -05:00
..
artifact.go artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
artifact_test.go artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
config.go consul-template: Add fault tolerant defaults (#13041) 2022-06-08 14:08:25 -04:00
config_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
testing.go client: enforce max_kill_timeout client configuration 2022-07-06 15:29:38 -05:00