1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00
This commit is contained in:
Newnius 2020-05-26 09:53:19 +08:00
parent 092853d44c
commit 139d621824

View File

@ -247,6 +247,7 @@ func (pool *ResourcePool) saveStatusHistory() {
/* update node info */
func (pool *ResourcePool) update(node NodeStatus) {
log.Info("Update", node.ClientID)
pool.poolsMu.Lock()
defer pool.poolsMu.Unlock()
segID := pool.getNodePool(node.ClientID)