Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/viam/app/app_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ async def get_robot_part(self, robot_part_id: str, dest: Optional[str] = None, i
# Get the part's address
address = my_robot_part.fqdn
# Check if machine is live (last access time less than 10 sec ago)
if (time.time() - my_robot_part.last_access.timestamp()) <= 10000:
if (time.time() - my_robot_part.last_access.timestamp()) <= 10:
print("Machine is live.")

Args:
Expand Down
Loading