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

fix(maybe lol): limit concurrency #103

Merged
merged 2 commits into from
Mar 18, 2023
Merged

Conversation

aaronleopold
Copy link
Collaborator

I am introducing a concurrency limit for the batch scan, something that definitely should have previously been in place. Rather than spawning threads for each series, no additional threads are spawned (except in the file count calculation, but that will be tacked later down the road). The scan_series futures are streamed and ran in parallel up to 10 at a time. I'm hopeful this alone will help with some of the memory issues for massive libraries, outlined in #102.

@aaronleopold aaronleopold merged commit 849d472 into develop Mar 18, 2023
@aaronleopold aaronleopold deleted the al/limit-concurrency branch March 18, 2023 23:14
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