Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform assessments serially to avoid artificially slow snatches (cro…
…ss-seed#571) Prowlarr pauses multiple requests to a given upstream that are opened in parallel. While this is convenient for most consumers because it means they don't have to retry, for cross-seed it's a bit of a different story because we both search and snatch heavily. In this case, when all the requests are coming from us, the queueing behavior doesn't really help us. What we can do is to just move the queueing behavior into cross-seed, by running assessments in a loop instead of `Promise.all`ing them, which will make `snatchTimeout` work better. closes cross-seed#560 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the efficiency of the candidate assessment process in the search functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information