Skip to content

Commit

Permalink
Merge pull request #5 from vapor-community/push-update
Browse files Browse the repository at this point in the history
Fixed blocked jobs.
  • Loading branch information
Andrewangeta authored Jan 9, 2021
2 parents 5b4c906 + 1b21fd6 commit 801f267
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/QueuesMongoDriver/Queues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class MongoQueue: Queue {
"status": "ready"],
update: ["$set": ["status": MongoJobStatus.processing.rawValue]],
returnValue: .modified)
.sort(["created": 1])
.execute()
.flatMapThrowing { reply in
guard reply.ok == 1, let document = reply.value else {
Expand Down

0 comments on commit 801f267

Please sign in to comment.