Skip to content

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Jun 30, 2025

RetryBackoffSpec#multiplier accepts a double value. However, the calculation is only taking the integer part for calculating the next power. This change avoids using Duration#multipliedBy(long) and operates on long values in nanos.

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
@chemicL chemicL added this to the 3.7.8 milestone Jun 30, 2025
@chemicL chemicL requested a review from a team as a code owner June 30, 2025 21:13
@chemicL chemicL added the type/bug A general bug label Jun 30, 2025
@chemicL chemicL merged commit cd881ce into 3.7.x Jul 1, 2025
10 checks passed
chemicL added a commit that referenced this pull request Jul 1, 2025
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
@chemicL chemicL deleted the exponential-backoff-double-precision branch July 1, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant