blinkstick-python icon indicating copy to clipboard operation
blinkstick-python copied to clipboard

Support retries

Open harlowja opened this issue 6 years ago • 0 comments

It appears the the underlying sending data over usb is pretty prone to failure.

It would be nice to support some ability to retry, perhaps by having a retry object from https://github.com/jd/tenacity#tenacity being passed into the blinkenstick constructor, which the usb sending code to then call whenever a usb data transfer failure occurs.

Using such a library should make it possible to allow the old behavior and any new behavior work at the same time.

harlowja avatar Feb 11 '19 22:02 harlowja