// RandomStagger returns an interval between 0 and the duration
RandomStagger returns an interval between 0 and the duration
// RandomStagger returns an interval between 0 and the duration
func RandomStagger(intv time.Duration) time.Duration {
	if intv == 0 {
		return 0
	}
	return time.Duration(uint64(rand.Int63()) % uint64(intv))
}
func RandomStagger ( intv time . Duration ) time . Duration { if intv == 0 { return 0 } return time . Duration ( uint64 ( rand . Int63 ( ) ) % uint64 ( intv ) ) }
RandomStagger returns an interval between 0 and the duration
RandomStagger returns an interval between 0 and the duration