feat(cloud): skip MCP-busy devices in scheduler
This commit is contained in:
@@ -204,6 +204,8 @@ class TaskScheduler:
|
||||
|
||||
|
||||
def _matches(device: "PooledDevice", constraints: TaskConstraints) -> bool:
|
||||
if device.mcp_busy:
|
||||
return False
|
||||
if constraints.target_host_id and device.host_id != constraints.target_host_id:
|
||||
return False
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user