You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(api): module disconnect tolerance (#21545)
# Overview
Add a temporary fault tolerance for modules.
This will allow for brief disconnections in the module without
triggering higher level errors by doing the following:
When a module disconnects, the module_control system will put it into a
temporary list and sets a timer, when the timer is done if a module with
the same serial number has reappeared in the system, it will move over
the serial connections from that new one to the old module, clean up the
new module and put the old module back into the available module lists.
This also fixes the async serial driver so that retry's are actually
fault tolerant to more than just non-replies.