Miss out one place to use queue instead, this is for decoupling notification from heartbeat to avoid being potentially blocked in callbacks

This commit is contained in:
Kelven Yang 2011-04-12 15:05:57 -07:00
parent f37f7f36aa
commit 2a45327a89
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ public class ClusterManagerImpl implements ClusterManager {
Date cutTime = DateUtil.currentGMTTime();
List<ManagementServerHostVO> inactiveList = _mshostDao.getInactiveList(conn, new Date(cutTime.getTime() - heartbeatThreshold));
if(inactiveList.size() > 0) {
notifyNodeLeft(inactiveList);
this.queueNotification(null, inactiveList);
}
}