- Deprecate the package variable
PRNGused inExpJitterDelayas it was not safe for concurrent use by default,ExpJitterDelaywill now use the stdlibrand.Int63nfunction which is concurrency-safe. - Introduce the new
ExpJitterDelayWithRandthat is the same asExpJitterDelayexcept that it accepts a function to generate the random number. It is the caller's responsibility to ensure that this function is safe for concurrent use.
Thanks to @justinrixx for raising the issue and contributing the fix.