Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/printnatura
gitea/printnatura/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2023-01-16 07:20:19 +01:00
commit e8447ad66a
1 changed files with 1 additions and 1 deletions

View File

@ -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() {