Skip to content
Snippets Groups Projects
Commit bd0f068c authored by Megan Henning's avatar Megan Henning
Browse files

Change query for non-elevated jobs

parent 24739da4
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ class Queue(object):
# If no jobs marked "now" are found, search again ordering by FIFO
if result is None:
query['now'] = False
query['now'] = {'$ne': True}
result = config.db.jobs.find_one_and_update(
query,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment