Skip to content

release command semaphore after timeout#911

Merged
barbibulle merged 1 commit intomainfrom
gbg/issue-910
Apr 16, 2026
Merged

release command semaphore after timeout#911
barbibulle merged 1 commit intomainfrom
gbg/issue-910

Conversation

@barbibulle
Copy link
Copy Markdown
Collaborator

As described in issue #910, if the controller doesn't send a response in time, a timeout exception is caught, but the command semaphore isn't released, which prevents any further use of the controller.
With this change, the command semaphore will be released (and the caller will be responsible for catching the timeout). This is of course an undefined state (if the controller didn't send a response, there's no way to predict if the controller will work at all after the timeout), but it may be useful for "flaky" controllers that may still be usable after a timeout.

@barbibulle barbibulle requested a review from zxzxwu April 15, 2026 15:40
@barbibulle barbibulle merged commit 2420c47 into main Apr 16, 2026
55 checks passed
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