Tdarr icon indicating copy to clipboard operation
Tdarr copied to clipboard

Max number of workers that limit transcodes and health checks overall for each node.

Open Fribb opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. I have set my Prioritization to "Transcodes", my GPU transcodes are set to 3 and my GPU Health checks are also set to 3, I do thorough health checks. Stage Limit is 3.

Whenever the last Item in the Transcode Queue is removed and put into the staging section and transcoded the transcode queue is empty. it seems that because of this, the health checks are able to start.

This means that now I have X remaining transcode jobs that need to finish and a full stack of health checks running. This might not be a problem when you have unlocked your GPU for unlimited streams but if your GPU doesn't support that or there are too many streams you could end up with transcoding errors.

Describe the solution you'd like Adding a "max number of jobs" to each node would allow us to limit the overall number of jobs that run simultaneously. This would prevent the situation that we potentially have 6 active jobs running at the same time when your transcodes and health checks are set to 3 each.

This could be even expanded from each node to "all" as well.

Describe alternatives you've considered An alternative would be to let the prioritization of transcodes and health checks include the currently running jobs.

Fribb avatar Jun 30 '22 13:06 Fribb