Skip to content

Commit

Permalink
Merge pull request #103 from rapyuta-robotics/fix/device-execute-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain authored Dec 11, 2024
2 parents 928147d + 7c6a1ae commit 6749589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapyuta_io/clients/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def fetch_command_result(self, jid: str, deviceids: list, timeout: int, interval
result = get_api_response_data(response)
return result[deviceids[0]]
sleep(wait_interval)
total_time_waited += wait_interval
time_elapsed += wait_interval
raise TimeoutError(f"Command result not available after {timeout} seconds")

def get_config_variables(self):
Expand Down

0 comments on commit 6749589

Please sign in to comment.