Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/printnatura
gitea/printnatura/pipeline/head This commit looks good
Details
gitea/printnatura/pipeline/head This commit looks good
Details
This commit is contained in:
commit
e8447ad66a
|
@ -112,7 +112,7 @@ class PrintServer {
|
|||
this.pollTimeout = null;
|
||||
let delay = this.conf.refreshRate;
|
||||
await this.getJobs();
|
||||
if (this.dbDown) delay = this.conf.reconnectTimeout;
|
||||
if (this.dbDown) delay = this.conf.reconnectTimeout * 1000;
|
||||
this.pollTimeout = setTimeout(() => this.poll(), delay);
|
||||
}
|
||||
async getJobs() {
|
||||
|
|
Loading…
Reference in New Issue