Missing handlers but there we goddamn GO
Former-commit-id: 2505146a54acaf18eadfdebf1dd2720889aef795
This commit is contained in:
@@ -40,9 +40,9 @@ func (i *Item) Compare(other queue.Item) int {
|
||||
iNext := i.Last().Add(i.Interval())
|
||||
jNext := j.Last().Add(j.Interval())
|
||||
if iNext.Before(jNext) {
|
||||
return 1
|
||||
} else if jNext.Before(iNext) {
|
||||
return -1
|
||||
} else if jNext.Before(iNext) {
|
||||
return 1
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user