Skip to content

Commit ffb9234

Browse files
committed
Comment counter
1 parent df59669 commit ffb9234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/labs/ucx/assessment/sequencing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class PriorityQueue:
7373
def __init__(self):
7474
self._entries: list[QueueEntry] = []
7575
self._entry_finder: dict[QueueTask, QueueEntry] = {}
76-
self._counter = 0
76+
self._counter = 0 # Tiebreaker with equal priorities, then "first in, first out"
7777

7878
def put(self, priority: int, task: QueueTask) -> None:
7979
"""Put or update task in the queue.

0 commit comments

Comments
 (0)