Add --check-connection-interval to CLI global options#5177
Open
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
Open
Add --check-connection-interval to CLI global options#5177Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
Conversation
RDK #6198 added a new global CLI flag --check-connection-interval that controls the robot connection health check interval. The default is 0 (disabled), which changes the previous behavior where connection checking was always on with the robot client's 10-second default.
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Collaborator
|
Josh Matthews (@jmatth) Can you do a quick review? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

RDK #6198 added a new
--check-connection-intervalglobal flag to the Viam CLI. For commands that connect to a machine, this flag controls how often the CLI checks the connection and closes the client if a faulty connection cannot be repaired. The default is0(disabled), which is a change from the previous behavior where the robot client's built-in 10-second connection check was always active.Source changes
Docs changes
docs/cli/reference.md: Added--check-connection-intervalto the global options tableHow I found these
check.connection,checkConnectedEvery,check-connection-intervalacross docsGenerated by daily docs change agent
Generated by Claude Code