Skip to content

Commit

Permalink
Changed monitor and spin_control processes to update the session stat…
Browse files Browse the repository at this point in the history
…us to running
  • Loading branch information
bbixler500 committed Dec 4, 2023
1 parent be317ea commit 02293d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions socs/agents/hwp_supervisor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ def monitor(self, session, params):

kw = {'test_mode': test_mode, 'log': self.log}

session.set_status('running')
while session.status in ['starting', 'running']:
session.data['timestamp'] = time.time()

Expand Down Expand Up @@ -879,6 +880,7 @@ def spin_control(self, session, params):
"""
clients = self._get_hwp_clients()

session.set_status('running')
while session.status in ['starting', 'running']:
self.control_state_machine.update(clients, self.hwp_state)

Expand Down

0 comments on commit 02293d9

Please sign in to comment.