5311-serverId_hostname #7

Merged
guillermo merged 4 commits from 5311-serverId_hostname into master 2023-03-21 09:19:59 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit cc5c650c5f - Show all commits

View File

@ -2,7 +2,6 @@ debug: false
log: true
dryPrint: false
keepFile: false
serverId: 1
concurrency: 4
reconnectTimeout: 10
refreshRate: 1000

View File

@ -5,6 +5,7 @@ const path = require('path');
const colors = require('colors');
const axios = require('axios');
const yml = require('require-yml');
const os = require("os");
const selectQuery = fs.readFileSync(`sql/selectQueued.sql`).toString();
const jobDataQuery = fs.readFileSync(`sql/jobData.sql`).toString();
@ -172,7 +173,7 @@ class PrintServer {
now(),
null,
null,
this.conf.serverId,
os.hostname,
jobId
]);
this.jobLog(jobId, 'debug', 'get: printing');