Documentation
¶
Overview ¶
Package schedule ranks pending agent runs for bounded-concurrency slot grants. It is pure arithmetic — the scheduler reconcilers list candidates from the cluster, ask Pick for the winners, and write the grants — so slot policy is fully table-testable and slot accounting is always cluster state, never controller memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgingPolicy ¶
type AgingPolicy struct {
// Interval grants one effective-priority point per elapsed interval.
Interval time.Duration
// Cap bounds the total aging boost.
Cap int32
}
AgingPolicy lifts long-waiting candidates so a flood of high-priority work cannot starve low-priority findings forever, while the cap keeps genuinely critical items on top.