refs #5311 Now put hostname in serverId
gitea/printnatura/pipeline/head This commit looks good
Details
gitea/printnatura/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e8447ad66a
commit
cc5c650c5f
|
@ -2,7 +2,6 @@ debug: false
|
||||||
log: true
|
log: true
|
||||||
dryPrint: false
|
dryPrint: false
|
||||||
keepFile: false
|
keepFile: false
|
||||||
serverId: 1
|
|
||||||
concurrency: 4
|
concurrency: 4
|
||||||
reconnectTimeout: 10
|
reconnectTimeout: 10
|
||||||
refreshRate: 1000
|
refreshRate: 1000
|
||||||
|
|
|
@ -5,6 +5,7 @@ const path = require('path');
|
||||||
const colors = require('colors');
|
const colors = require('colors');
|
||||||
const axios = require('axios');
|
const axios = require('axios');
|
||||||
const yml = require('require-yml');
|
const yml = require('require-yml');
|
||||||
|
const os = require("os");
|
||||||
|
|
||||||
const selectQuery = fs.readFileSync(`sql/selectQueued.sql`).toString();
|
const selectQuery = fs.readFileSync(`sql/selectQueued.sql`).toString();
|
||||||
const jobDataQuery = fs.readFileSync(`sql/jobData.sql`).toString();
|
const jobDataQuery = fs.readFileSync(`sql/jobData.sql`).toString();
|
||||||
|
@ -172,7 +173,7 @@ class PrintServer {
|
||||||
now(),
|
now(),
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
this.conf.serverId,
|
os.hostname,
|
||||||
jobId
|
jobId
|
||||||
]);
|
]);
|
||||||
this.jobLog(jobId, 'debug', 'get: printing');
|
this.jobLog(jobId, 'debug', 'get: printing');
|
||||||
|
|
Loading…
Reference in New Issue