1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2020-05-26 09:03:21 +08:00
parent f9c95cebcb
commit 3c40765c22
2 changed files with 11 additions and 3 deletions

View File

@@ -147,9 +147,6 @@ func (pool *ResourcePool) checkDeadNodes() {
seg = seg.Next
}
seg.Lock.Lock()
if seg.Nodes == nil {
seg = seg.Next
}
delete(seg.Nodes, v)
seg.Lock.Unlock()
delete(pool.heartBeat, v)