Skip to main content

Module task_scheduler

Module task_scheduler 

Source
Expand description

Agent-wide admission scheduler for top-level and background work.

Session transcript admission remains single-flight. This scheduler adds a shared capacity boundary across every session created by one Agent, using a3s-lane’s stable priority queue for exact priority/FIFO ordering.

Structs§

TaskLease
RAII ownership of one globally admitted execution slot.
TaskPriorityCounts
Counts grouped by the stable public priority classes.
TaskScheduler
Shared actor handle. One instance belongs to each Agent.
TaskSchedulerConfig
Agent-wide task scheduler settings.
TaskSchedulerStats
Point-in-time scheduler occupancy for hosts and diagnostics.

Enums§

TaskPriority
Relative importance of work admitted through an agent’s shared scheduler.
TaskSchedulerError
Scheduler admission failures.