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

Driver rpc tries #3203

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

davidraker
Copy link
Contributor

Description

Try blocks are added to avoid breaking the DriverAgent instance for a device if an RPC method is called before the onstart runs for the DriverAgent. This is necessary because the interface is not ready at the time the RPC arrives. Checking for readiness, meanwhile, would add overhead to every read and write, when this can only happen in the first second or two after creating the device. Instead, we avoid the problem by catching the AttributeError and simply logging that this has happened.

Fixes # (issue)
#3202

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

@davidraker davidraker changed the base branch from main to develop January 21, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant