Skip to content

Set lease holder to None, priority to 0, and routine_active to False on lease holder expiry#43

Open
hello-garv wants to merge 1 commit into
jazzyfrom
feature/reset-lease-holder-to-none-on-expiry
Open

Set lease holder to None, priority to 0, and routine_active to False on lease holder expiry#43
hello-garv wants to merge 1 commit into
jazzyfrom
feature/reset-lease-holder-to-none-on-expiry

Conversation

@hello-garv

Copy link
Copy Markdown
Contributor

The sbs lease holder is not cleared after expiration time, it is up to the consumer to check if the expiration has passed. This PR updates the name to none and priority to 0 to reduce logic overhead for topic subscribers.

@hello-lamsey hello-lamsey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Does lease_holder=None behave safely elsewhere in the driver? Your testing yesterday seemed to indicate that behavior was fine; just double checking

@hello-garv

Copy link
Copy Markdown
Contributor Author

LGTM

Does lease_holder=None behave safely elsewhere in the driver? Your testing yesterday seemed to indicate that behavior was fine; just double checking

Good question, web teleop is the only subscriber to the topic right now, so changes should be isolated.

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.

2 participants