Skip to content

Conversation

@zpatten
Copy link
Contributor

@zpatten zpatten commented Apr 6, 2025

  • Wait for commands to complete to avoid overloading the command queue
  • Add a minimum donwload queue size to avoid overloading the download queue

If this looks good to you I'll add the same for Radarr (plexguide/Huntarr-Radarr#10) and Lidarr.

Let me know if you want any changes made as well.

I added the minimum download queue size because I don't want the download queue getting super backed up with a huge backlog of downloads. This way I can run it on a 60 second cycle (SLEEP_DURATION=60) and as soon as the download queue count falls below something like 5 (for example) it will do more searches/upgrades.

I had it default to the -1 value to maintain backward compatibility as that will disable the minimum queue size check.

@zpatten zpatten force-pushed the main branch 9 times, most recently from cf98ea8 to bc131ec Compare April 6, 2025 15:19
- Add a minimum donwload queue size to avoid overloading the download queue
@Admin9705 Admin9705 merged commit ecf11dc into plexguide:main Apr 6, 2025
1 check passed
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.

2 participants