Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdml committed Jan 16, 2025
1 parent a5dc0d1 commit 75243c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbos/_sys_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ def start_queued_workflows(self, queue: "Queue", executor_id: str) -> List[str]:
f"[{queue.name}] {number_of_tasks_already_started} task(s) already started"
)

# queue lenght >= queue.concurrency >= len(rows) >= number_of_tasks_already_started > 0
# queue length >= queue.concurrency >= len(rows) >= number_of_tasks_already_started > 0
number_of_eligible_tasks: int = len(rows) - number_of_tasks_already_started
dbos_logger.debug(
f"[{queue.name}] {number_of_eligible_tasks} task(s) eligible for dequeue"
Expand Down

0 comments on commit 75243c2

Please sign in to comment.