Perf: Limit concurrency for parallel requests #26
Labels
meta:good-first-issue
Good for newcomers
p1
High priority
size:small
Small
type:refactor
Changes not visible to users
A file may contain a large number of chunks.
To prevent overwhelming system resources, utilize
tokio::sync::Semaphores
to limit concurrency. A semaphore maintains a set of permits, and a task must acquire a permit from the semaphore before proceeding.The text was updated successfully, but these errors were encountered: