Skip to content

Commit

Permalink
improved stability of the priority heap, improved logging middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Cosentino committed Jan 29, 2023
1 parent 93c74f0 commit 719e03e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions task.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,3 @@ func (h *taskHeap) Pop() interface{} {
*h = old[0 : n-1]
return task
}

// update modifies the priority of `Task` in the queue.
// func (h *taskHeap) update(task *Task, priority int) {
// task.Priority = priority
// heap.Fix(h, task.index)
// }

0 comments on commit 719e03e

Please sign in to comment.