mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Improve job-queue query to make sure jobs across all states show up
This commit is contained in:
@ -48,7 +48,9 @@ object OJob {
|
||||
|
||||
def queueState(collective: Ident, maxResults: Int): F[CollectiveQueueState] =
|
||||
store
|
||||
.transact(QJob.queueStateSnapshot(collective).take(maxResults.toLong))
|
||||
.transact(
|
||||
QJob.queueStateSnapshot(collective, maxResults.toLong)
|
||||
)
|
||||
.map(t => JobDetail(t._1, t._2))
|
||||
.compile
|
||||
.toVector
|
||||
|
Reference in New Issue
Block a user