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
The retry crate in Rust has worked rather well, and there may be something just as good in the Python sphere. tenacity and retry are two candidate. We don't have to retry as much in Python production code as we do in Rust production code, but we do in test code.
The text was updated successfully, but these errors were encountered:
When we use retry, we should consider waiting one cycle after the devices have been waited for in wait_for_udev. If the number of devices to be waited for is 0, and they need to come up, then wait_for_udev() may return, having waited not long enough for the devices it expected.
The retry crate in Rust has worked rather well, and there may be something just as good in the Python sphere. tenacity and retry are two candidate. We don't have to retry as much in Python production code as we do in Rust production code, but we do in test code.
The text was updated successfully, but these errors were encountered: