Skip to content

Commit 719e03e

Browse files
author
Francesco Cosentino
committed
improved stability of the priority heap, improved logging middleware
1 parent 93c74f0 commit 719e03e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

task.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,3 @@ func (h *taskHeap) Pop() interface{} {
127127
*h = old[0 : n-1]
128128
return task
129129
}
130-
131-
// update modifies the priority of `Task` in the queue.
132-
// func (h *taskHeap) update(task *Task, priority int) {
133-
// task.Priority = priority
134-
// heap.Fix(h, task.index)
135-
// }

0 commit comments

Comments
 (0)