1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-04-30 14:34:06 +08:00
parent b5eeb6a77f
commit e8198d6131

View File

@@ -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)
lock.Unlock()
//lock.Unlock()
pool.poolsMu[i].Unlock()
}
go func(res NodeStatus) {
if len(res.Status) == 0 {