refs #4550 getJob: Transaction commit fix
gitea/printnatura/pipeline/head This commit looks good
Details
gitea/printnatura/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0a32ef9041
commit
6a5b7f4a25
|
@ -163,9 +163,9 @@ class PrintServer {
|
|||
if (printJob) {
|
||||
jobId = printJob.id;
|
||||
await conn.query(updateQuery, ['printing', null, jobId]);
|
||||
await conn.commit();
|
||||
this.jobLog(jobId, 'debug', 'get: printing');
|
||||
}
|
||||
await conn.commit();
|
||||
} catch (err) {
|
||||
await conn.rollback();
|
||||
if (jobId)
|
||||
|
|
Loading…
Reference in New Issue