Skip to content

Background_Tasks_Parameters

Joe Winter edited this page Sep 4, 2014 · 1 revision

Background Tasks Parameters
max_node_tasks: 2
Defines the maximum number of tasks that can be launched concurrently on one Doradus node. If there is no node that can launch a task since all the nodes are busy with max_node_tasks each, then the task is skipped, and may be scheduled next time.
# task_exec_delay: 5
Defines the minimum interval (in seconds) between the scheduled time and actual start of the task. This delay is used for Doradus nodes to synchronize and to decide which node would perform the task. After this initial delay, the task may be delayed once more for maximum task_exec_delay seconds, so actual time interval between scheduled time and actual task start time may be between task_exec_delay and 2 * task_exec_delay seconds.
task_restarts: 2
Number of attempts to restart a task if it was interrupted due to an internal error. The task will not be restarted if an external error (like server node fault) occurs.
check_interrupting_interval: 10
Defines the interval (in seconds) between consequent analysis of whether a task that is executing by this node was interrupted by user request.
default_schedule:
Global default schedule used for all tasks for all applications and tables. The value is a cron expression (example: “0 0 31 10 *”). The default is null, which means no tasks are automatically scheduled.

Clone this wiki locally