Merge "Fix the huge pages fields showing as pending"

This commit is contained in:
Zuul 2019-07-17 22:08:33 +00:00 committed by Gerrit Code Review
commit fcb0bf00dc
1 changed files with 4 additions and 4 deletions

View File

@ -1164,13 +1164,13 @@ class AgentManager(service.PeriodicService):
(', '.join(force_updates)))
self._update_ttys_dcd_status(icontext, self._ihost_uuid)
imemory = self._inode_operator.inodes_get_imemory()
rpcapi.imemory_update_by_ihost(icontext,
self._ihost_uuid,
imemory)
if self._agent_throttle > 5:
# throttle updates
self._agent_throttle = 0
imemory = self._inode_operator.inodes_get_imemory()
rpcapi.imemory_update_by_ihost(icontext,
self._ihost_uuid,
imemory)
if self._is_config_complete():
self.host_lldp_get_and_report(icontext, rpcapi, self._ihost_uuid)
else: