Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set receive timeout after connecting the client #596

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

steffen-roperobotics
Copy link
Contributor

The dashboard client connect function resets the receive timeout to 1 s. To avoid that the receive timeout is reset the setReceiveTimeout call is moved to after the client is connected.

@fmauch
Copy link
Collaborator

fmauch commented Jan 3, 2023

Looks like you are right. Thanks for spotting this and providing the fix as a PR!

Copy link
Collaborator

@fmauch fmauch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Since we set the timeout in the connect() method this has to be done afterwards.

@fmauch fmauch linked an issue Jan 3, 2023 that may be closed by this pull request
@fmauch
Copy link
Collaborator

fmauch commented Jan 3, 2023

Before merging I'd like to test this on a real hardware. I might have never switched installations using the dashboard client before. If a higher timeout is needed in order to switch installations, we should probably also change the default value.

@fmauch fmauch added the requires testing Requires some (hardware) testing label Jan 3, 2023
@github-actions
Copy link

This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant.

@github-actions github-actions bot added the Stale label Jun 25, 2023
@fmauch
Copy link
Collaborator

fmauch commented Jun 26, 2023

Yes, this is still relevant. I should test and merge this!

@github-actions github-actions bot removed the Stale label Jun 26, 2023
@fmauch fmauch self-requested a review September 20, 2024 08:17
@fmauch fmauch merged commit 27dbac5 into UniversalRobots:master Sep 26, 2024
@fmauch
Copy link
Collaborator

fmauch commented Sep 26, 2024

I finally got around testing this on real hardware. Thank you @steffen-roperobotics for providing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires testing Requires some (hardware) testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dashboard client receive timeout reset to 1 s
2 participants