Skip to content

Prevent CachedSupplier jitter from cycling through low values#6811

Merged
davidh44 merged 2 commits intomasterfrom
hdavidh/cached-supplier-do-not-cycle-low-values-jitter
Mar 24, 2026
Merged

Prevent CachedSupplier jitter from cycling through low values#6811
davidh44 merged 2 commits intomasterfrom
hdavidh/cached-supplier-do-not-cycle-low-values-jitter

Conversation

@davidh44
Copy link
Copy Markdown
Contributor

Motivation and Context

(1L << numFailures - 1) will cycle back through low numbers periodically

Modifications

Check if numFailures > 63, return Duration.ofSeconds(10) if so

Testing

Added unit test

@davidh44 davidh44 requested a review from a team as a code owner March 23, 2026 19:42
@davidh44 davidh44 added the no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required label Mar 23, 2026
@sonarqubecloud
Copy link
Copy Markdown

@davidh44 davidh44 added this pull request to the merge queue Mar 24, 2026
Merged via the queue into master with commit a485378 Mar 24, 2026
47 of 51 checks passed
@github-actions
Copy link
Copy Markdown

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2026
@davidh44 davidh44 deleted the hdavidh/cached-supplier-do-not-cycle-low-values-jitter branch March 24, 2026 22:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants