kill timeout default documentation

This commit is contained in:
Alex Dadgar 2016-09-12 09:53:57 -07:00
parent a4a4ed2c71
commit eb219f55ed
2 changed files with 3 additions and 2 deletions

View file

@ -274,7 +274,8 @@ The `task` object supports the following keys:
the `s`, `m`, and `h` suffixes, such as `30s`. It can be used to configure the
time between signaling a task it will be killed and actually killing it. Nomad
sends an `os.Interrupt` which on Unix systems is defined as `SIGINT`. After
the timeout a kill signal is sent (on Unix `SIGKILL`).
the timeout a kill signal is sent (on Unix `SIGKILL`). The default
`kill_timeout` is 5 seconds.
* `logs` - Logs allows configuring log rotation for the `stdout` and `stderr`
buffers of a Task. See the [log rotation section](#log_rotation) for more details.

View file

@ -296,7 +296,7 @@ The `Task` object supports the following keys:
used to configure the time between signaling a task it will be killed and
actually killing it. Drivers first sends a task the `SIGINT` signal and then
sends `SIGTERM` if the task doesn't die after the `KillTimeout` duration has
elapsed.
elapsed. The default `KillTimeout` is 5 seconds.
* `LogConfig` - This allows configuring log rotation for the `stdout` and `stderr`
buffers of a Task. See the log rotation reference below for more details.