# TaskFlow Framework Configuration
# This YAML file demonstrates the configuration options for TaskFlow
# Scheduler configuration
scheduler:
# How often the scheduler checks for new tasks (in seconds)
poll_interval_seconds: 3
# Maximum number of concurrent tasks that can run
max_concurrent_tasks: 50
# Whether to resolve task dependencies automatically
enable_dependency_resolution: true
# How long to keep completed tasks in storage (in hours)
cleanup_completed_tasks_after_hours: 48
# Executor configuration
executor:
# Unique identifier for this worker instance
worker_id: "production-worker-001"
# Maximum tasks this executor can handle concurrently
max_concurrent_tasks: 20
# Timeout for task execution (in seconds)
task_timeout_seconds: 600
# How often to send heartbeat signals (in seconds)
heartbeat_interval_seconds: 15
# Storage configuration
storage_type: InMemory
# Example with different storage type (when supported):
# storage_type: Database
# database:
# connection_string: "postgresql://user:pass@localhost/taskflow"
# pool_size: 10