feat: thread session affinity through scheduler selection

This commit is contained in:
RWDai
2026-05-05 11:23:54 +08:00
parent c596d82dec
commit eb8878695a
3 changed files with 34 additions and 11 deletions
@@ -47,6 +47,7 @@ async fn select_candidate(
require_streaming,
None,
auth_snapshot,
None,
now_unix_secs,
false,
)
@@ -70,6 +71,7 @@ async fn collect_selectable_candidates(
require_streaming,
None,
auth_snapshot,
None,
now_unix_secs,
false,
)
@@ -99,6 +101,7 @@ async fn collect_selectable_candidates_with_skip_reasons(
require_streaming,
None,
auth_snapshot,
None,
now_unix_secs,
false,
)
@@ -406,6 +409,7 @@ async fn scheduler_selection_prefers_required_capability_matches_before_priority
false,
Some(&required_capabilities),
None,
None,
100,
false,
)