Compare commits
No commits in common. "2645fa909b005b535052f0dda4bddd0d414e2b3a" and "a2219c88f1ce48bb6d9bce9b03b35c8f2786c4f6" have entirely different histories.
2645fa909b
...
a2219c88f1
2 changed files with 0 additions and 7 deletions
|
@ -83,8 +83,6 @@ SELECT
|
|||
, j.started_at
|
||||
, j.cancelled_at
|
||||
, j.finished_at
|
||||
, j.user_id
|
||||
, j.printer_id
|
||||
FROM jobs j
|
||||
INNER JOIN files f
|
||||
ON j.file_id = f.id
|
||||
|
|
|
@ -152,11 +152,6 @@ def assign_jobs(app: App, db: Db) -> None:
|
|||
"""Assign jobs to printers. Uploading files and job state management is handled separately."""
|
||||
|
||||
for job in db.list_job_queue(uid=None):
|
||||
# FIXME: Jobs which have been mapped are still in the "queue" until they finish
|
||||
# Ignore such as they have already been mapped
|
||||
if job.printer_id:
|
||||
continue
|
||||
|
||||
for printer in db.list_idle_printers():
|
||||
if (
|
||||
job.analysis_id is not None
|
||||
|
|
Loading…
Reference in a new issue