Skip to content

Commit

Permalink
log before assignment...
Browse files Browse the repository at this point in the history
  • Loading branch information
JackUrb committed Aug 1, 2022
1 parent 6c0c706 commit 3e5af73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mephisto/operations/worker_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ async def _assign_unit_to_agent(
)
else:
# See if the concurrent unit is ready to launch
logger.debug(f"Attempting to launch {assignment}.")
assignment = await loop.run_in_executor(None, unit.get_assignment)
logger.debug(f"Attempting to launch {assignment}.")
agents = await loop.run_in_executor(None, assignment.get_agents)
if None in agents:
agent.update_status(AgentState.STATUS_WAITING)
Expand Down

0 comments on commit 3e5af73

Please sign in to comment.