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

Improve concurrency when adding documents to collection #2

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

philippgille
Copy link
Owner

Using ctx.Err() we don't need to check globalErr and thus don't need the read lock on the mutex.

@philippgille philippgille merged commit 5f35023 into main Jan 13, 2024
1 check passed
@philippgille philippgille deleted the improve-collection-add-concurrency branch January 13, 2024 16:43
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