Thanks for writing this up Lisa, the design doc is explains the new feature very nicely.
The design mentions that the interval and jitter can both be set to 1 microsecond or more. I have a few questions related to that:
- if alps_release_jitter_usec is set to 1 microsecond, will the random value be set to a float between 0 and 1 microsecond? Or is the maximum precision 1 microsecond making it either 0 or 1?
- If alps_release_jitter_usec and alps_release_interval_usec are both set to 1 microsecond, the release requests are supposed to be sent every 2 microseconds or less, I’m a bit concerned that that might not be enough time for the release request itself to be sent out. If the time that it takes to send each release request itself is > 2 microseconds, then will that make the behavior of when the polling occurs undefined? do we care?
One more thing, just curious, if ALPS doesn’t respond for whatever reason, is there a timeout that will be used to stop trying and bail?