Module backoff
Expand description
Deterministic jitter for reconnect backoff.
Structsยง
- XorShift32 ๐
XorShift32PRNG for deterministic jitter.
Functionsยง
- apply_
jitter ๐ - Reduces
delayby a random fraction up tojitterof its length. - next_
delay ๐ - Computes the next reconnect delay from the previous one.