Skip to content

Bring reduced batch size to all other standard maintenance services #1016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2025

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Aug 15, 2025

This one continues #1013 by bringing reduced batch size circuit breakers
to all other client maintenance services (previously it was only in
JobScheduler). We extract some common constants and a couple helpers
into riversharedmaintenance, then invoke that from each service.

riversharedmaintenance is used so that the logic can potentially be
shared outside the main River project as well. circuitbreaker has been
moved from an internal package to rivershared for the same reason.

@brandur brandur force-pushed the brandur-shared-reduced-batch branch from 3cb547c to 5c69b13 Compare August 15, 2025 07:14
This one continues #1013 by bringing reduced batch size circuit breakers
to all other client maintenance services (previously it was only in
`JobScheduler`). We extract some common constants and a couple helpers
into `riversharedmaintenance`, then invoke that from each service.

`riversharedmaintenance` is used so that the logic can potentially be
shared outside the main River project as well. `circuitbreaker` has been
moved from an internal package to `rivershared` for the same reason.
@brandur brandur force-pushed the brandur-shared-reduced-batch branch from 5c69b13 to db6a1b8 Compare August 15, 2025 07:23
@brandur brandur requested a review from bgentry August 15, 2025 07:31
@brandur
Copy link
Contributor Author

brandur commented Aug 15, 2025

@bgentry This one requires another rivershared API change, so it'd be nice to try and get it in as a "one more thing" before cutting a release.

@brandur
Copy link
Contributor Author

brandur commented Aug 16, 2025

Thanks!

@brandur brandur merged commit 38b69b1 into master Aug 16, 2025
19 of 20 checks passed
@brandur brandur deleted the brandur-shared-reduced-batch branch August 16, 2025 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants