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

Process request in bulk #691

Open
Drapersniper opened this issue Feb 3, 2022 · 0 comments
Open

Process request in bulk #691

Drapersniper opened this issue Feb 3, 2022 · 0 comments
Labels
enhancement New feature or request v2.x Considered to make it into v2 release

Comments

@Drapersniper
Copy link

Is your feature request related to a problem? Please describe.
Sonarr and Arr have a limited number of tasks that they can perform simultaneous, by default, this is 3 on both (on radar you can change it to 2-10)

Because of this if a user makes multiple requests back to back you can find yourself in a position where your download folder fill up faster than the search requests can complete as the import tasks will not run until all searches are complete.

Describe the solution you'd like
Ability to send requests in Bulks to be processed as a single task
We had a discussions about this on discord https://discord.com/channels/722180802871427104/802997613405929503/938783407096352809

Describe alternatives you've considered
Multiple instances of Arr
Changing the default number of allowed tasks

One way this could be done is
1 - Add a missing entry to arr without triggering a search instantly after a request is made
2 - Keep the series ID stored then every X minutes process the stored series ID.

/api/v3/commands accepts the

You could use SeriesSearch to trigger a series-wide search, but the missing episodes would only search for episodes that the user doesn't currently own, so should be more efficient even if most of the time we would end up doing the equivalent of a SeriesSearch

These commands take seriesIds and MovieIds arrays which can contain multiple Ids to search for them in bulk

@Drapersniper Drapersniper added the enhancement New feature or request label Feb 3, 2022
@ADRFranklin ADRFranklin added the v2.x Considered to make it into v2 release label Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.x Considered to make it into v2 release
Projects
None yet
Development

No branches or pull requests

2 participants