mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
update
This commit is contained in:
@@ -287,9 +287,10 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task) NodeStatus {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, lock := range locks {
|
for i, _ := range locks {
|
||||||
log.Info("unlock ", i)
|
log.Info("unlock ", i)
|
||||||
lock.Unlock()
|
//lock.Unlock()
|
||||||
|
pool.poolsMu[i].Unlock()
|
||||||
}
|
}
|
||||||
go func(res NodeStatus) {
|
go func(res NodeStatus) {
|
||||||
if len(res.Status) == 0 {
|
if len(res.Status) == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user