Skip to content
Snippets Groups Projects

[Webservice] Fix overview page with newly submitted jobs

Merged Thomas Kluyver requested to merge fix/webservice-elapsed-str into master
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -486,7 +486,7 @@ async def run_action(job_db, cmd, mode, proposal, run, exec_id) -> str:
jobs.append((int(jobid.strip()), exec_id))
with time_db_transaction(job_db, 'Insert jobs'):
job_db.executemany(
"INSERT INTO slurm_jobs VALUES (?, ?, 'PENDING', 0, 0)",
"INSERT INTO slurm_jobs VALUES (?, ?, 'PENDING', 0, '0')",
jobs
)
Loading