feat(cloud-scheduler): reserve devices atomically

This commit is contained in:
2026-07-12 17:19:10 +08:00
parent 0a9392b7ea
commit ac7734c7dc
6 changed files with 301 additions and 19 deletions
+3
View File
@@ -25,6 +25,9 @@ class CloudConfig:
# are rejected rather than letting the backlog grow without limit.
max_queue_depth: int = 100
# Duration of each scheduler-created assignment lease.
lease_duration_seconds: float = 60.0
# Strategy name looked up in the AssignmentStrategy registry (default fifo_match).
default_assignment_strategy: str = "fifo_match"