task-manager
The task manager module is responsible for managing all the tasks that run on the agents.
This module is only available on the manager side, on a stand-alone manager, or on a master node in a cluster configuration.
This configuration section only needs to be defined in order to change the default values.
Options
Note
This module will always be enabled and cannot be deactivated.
cleanup_time
Maximum time that the task information will remain stored in the task database.
Default value |
7d |
Allowed values |
A positive number that should contain a suffix character indicating a time unit: s (seconds), m (minutes), h (hours) or d (days). |
Required |
no |
Note
The cleanup_time
must be greater than or equal to the task_timeout
parameter.
task_timeout
Maximum time that a task with the status "In progress" will be kept before changing its state to "Timeout".
Default value |
15m |
Allowed values |
A positive number that should contain a suffix character indicating a time unit: s (seconds), m (minutes), h (hours) or d (days). |
Required |
no |
Sample configuration
<task-manager>
<cleanup_time>2d</cleanup_time>
<task_timeout>1h</task_timeout>
</task-manager>