Skip to content

Commit

Permalink
Add back .05% buffer to account for jitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Greco committed Nov 13, 2023
1 parent 0044e64 commit 6e15614
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ public void testExclusiveAppendQuotaErrorRetryExponentialBackoff() throws Except
java.time.Duration.between(previousInstant, currentInstant).toMillis();
assertThat(differenceInMillis).isAtLeast((double) INITIAL_RETRY_MILLIS);
assertThat(differenceInMillis).isGreaterThan(minExpectedDelay);
minExpectedDelay = minExpectedDelay * RETRY_MULTIPLIER;
minExpectedDelay = minExpectedDelay * RETRY_MULTIPLIER * 0.95;
previousInstant = currentInstant;
}
}
Expand Down

0 comments on commit 6e15614

Please sign in to comment.