Fix bug in job eligibility sorting after a job deletion.

This commit is contained in:
Greyson Parrelli
2025-11-18 19:58:45 -05:00
parent 92389284a5
commit c46a005758
2 changed files with 39 additions and 1 deletions

View File

@@ -362,7 +362,6 @@ class FastJobStorage(private val jobDatabase: JobDatabase) : JobStorage {
compareByDescending<MinimalJobSpec> { it.globalPriority }
.thenByDescending { it.queuePriority }
.thenBy { it.createTime }
.thenBy { it.id }
)
?.let { placeJobInEligibleList(it) }
}