-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Draft 3 says:
The following algorithm is RECOMMENDED for choosing a renewal time:
- Select a uniform random time within the suggested window.
...- Otherwise, sleep until the next normal wake time, re-check ARI, and return to Step 1.
(Step "2." above is actually step 5, I dunno why it shows up as 2, I definitely wrote 5)
Anyway, if step 5 is reached, it says to wait until the next waking time, and then "re-check ARI." What does this mean exactly? Poll the endpoint to get the updated info, or to use the previously-polled window that is stored in a cache of some sort? If it is the former, wouldn't we only poll with respect to Retry-After (if set)?
Then, when returning to step 1, we are supposed to choose a new random time within the window. Is that intended? Or is the intention that we choose just 1 random time in the window, then store that (until the window changes) and reuse it, checking against that time when running the algorithm? I guess generating a random time each waking is no more and no less random than choosing 1 random time and reusing it until the window changes.
Thanks, hoping to gain some clarity on these things.