Skip to content

2023.5.1: device.py: resist rotating api versions again

Latest
Compare
Choose a tag to compare
@burn1879 burn1879 released this 14 May 10:37
· 226 commits to main since this release
63d3e14
When a device has been working using a protocol version, then any
communication failures are unlikely to be due to a protocol version
change.  Such changes will only happen after a device firmware upgrade
which is a rare case.  Instead of restarting protocol detection
immediately, give another 10 attempts (each "attempt" being 3
failures) using the current protocol, which is most likely to work.

Recent changes at the request of users who want to detect offline
devices faster have made things less resilient for devices which are
having intermittent network issues.  This change attempts to address
that.

Issue #653