Skip to content

RSDK-6155 - add initialDialAttempts to robot client options #4833

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

Merged

Conversation

stuqdog
Copy link
Member

@stuqdog stuqdog commented Mar 6, 2025

Adds initialDialAttempts to robot client options, to indicate the number of attempts when initially dialing.

I opted not to include a timeout, under the thinking that adding a timeout to a context is the more idiomatic way to work with timeouts in go (and is already respected by the dial func in goutils).

@stuqdog stuqdog requested review from a team, njooma and lia-viam and removed request for a team March 6, 2025 20:26
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Mar 6, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 7, 2025
Copy link
Member

@njooma njooma left a comment

Choose a reason for hiding this comment

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

Update initialConnectionAttempts docstring

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 10, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 10, 2025
@stuqdog stuqdog requested a review from njooma March 10, 2025 17:06
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 10, 2025
@stuqdog stuqdog merged commit 6fcecea into viamrobotics:main Mar 11, 2025
16 checks passed
@stuqdog stuqdog deleted the RSDK-6155-initial-connection-options branch March 11, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants