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

Add queue mix-in for storage implementations #43

Closed
wants to merge 8 commits into from
Closed

Add queue mix-in for storage implementations #43

wants to merge 8 commits into from

Conversation

AlCutter
Copy link
Collaborator

@AlCutter AlCutter commented Jul 9, 2024

This PR adds a buffering queue which storage implementations may use to batch up calls to their Add methods.

If multiple identical entries are added to the queue, it will silently de-deduplicate them and return the same assigned index (or error) for each.

Supports #6

@AlCutter AlCutter requested a review from phbnf July 9, 2024 11:27
@AlCutter AlCutter marked this pull request as ready for review July 9, 2024 11:33
@AlCutter AlCutter closed this by deleting the head repository Jul 9, 2024
@AlCutter
Copy link
Collaborator Author

AlCutter commented Jul 9, 2024

GH auto-closed this for reasons best known to itself, re-raised in #44

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