Task Configuration¶
The tasks section configures how your node executes containerized workloads.
Overview¶
Task configuration controls:
Maximum concurrent task execution
Task timeout settings
Retry policies
Resource allocation
Log streaming
Configuration Example¶
[tasks]
max_concurrent = 2
task_timeout = 3600
retry_attempts = 3
cleanup_on_failure = true
stream_logs = true
Configuration Fields¶
max_concurrent¶
Type: integer
Default: 2
Description: Maximum number of tasks that can run simultaneously
# Single task at a time (for GPU workloads)
max_concurrent = 1
# Multiple parallel tasks
max_concurrent = 4
task_timeout¶
Type: integer
Default: 3600
(1 hour)
Description: Maximum execution time per task in seconds
# 30 minutes
task_timeout = 1800
# 2 hours
task_timeout = 7200
retry_attempts¶
Type: integer
Default: 3
Description: Number of retry attempts for failed tasks
cleanup_on_failure¶
Type: boolean
Default: true
Description: Whether to clean up containers and files after task failure
stream_logs¶
Type: boolean
Default: true
Description: Whether to stream task logs to the manager in real-time
See Also¶
Resource Configuration - Resource limits
Container Configuration - Container settings