Skip to content
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

sweepbatcher: add option WithWaitForAddSweep #823

Closed
wants to merge 1 commit into from

Conversation

starius
Copy link
Collaborator

@starius starius commented Sep 5, 2024

WithWaitForAddSweep instructs sweepbatcher to wait for all existing sweeps to be AddSweeped in Run before actual starting. This is needed in setups where AddSweep is called after setting up dependencies of FetchSweep, so FetchSweep would fail if called before AddSweep.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

WithWaitForAddSweep instructs sweepbatcher to wait for all existing sweeps
to be AddSweep'ed in Run before actual starting. This is needed in setups
where AddSweep is called after setting up dependencies of FetchSweep, so
FetchSweep would fail if called before AddSweep.
@starius starius marked this pull request as ready for review September 5, 2024 20:19
@starius starius marked this pull request as draft September 6, 2024 13:21
@starius
Copy link
Collaborator Author

starius commented Sep 13, 2024

Replaced with another approach.

@starius starius closed this Sep 13, 2024
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.

1 participant