Skip to content

fix: stop a slow release from stranding a peripheral - #160

Open
MegaManSec wants to merge 5 commits into
mainfrom
fix/slow-release-strand
Open

MegaManSec wants to merge 5 commits into
mainfrom
fix/slow-release-strand

Conversation

@MegaManSec

Copy link
Copy Markdown
Owner

Fixes #159: a release over 2s failed the take and stranded the peripheral.

  • Wait up to 15s for a release (taker waits 30s).
  • Failed take: keep watching 30s while the peer finishes.
  • Roll a timed-out send back onto this Mac.

Untested on two Macs.

This branch has not been deployed

No deployments
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.

Take fails and strands the peripheral when the other Mac needs more than 2s to release it

1 participant