Skip to content

Commit

Permalink
Fix loop condition in Logic class to prevent exceeding the cap (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
gignsky authored Apr 24, 2024
2 parents 449ca40 + 218ad47 commit da80061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdarr-noding/src/general_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def find_priority_target_level(
cap = max_nodes

current_priority_level = 1
while current_priority_level <= cap:
while current_priority_level < cap:
for _, Class in node_dictionary.items():
node_priority = Class.priority
node_transcode_workers = (
Expand Down

0 comments on commit da80061

Please sign in to comment.