mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +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)
|
||||
lock.Unlock()
|
||||
//lock.Unlock()
|
||||
pool.poolsMu[i].Unlock()
|
||||
}
|
||||
go func(res NodeStatus) {
|
||||
if len(res.Status) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user