refs #4550 hotfix: reconnectTimeout cast to ms
gitea/printnatura/pipeline/head This commit looks good
Details
gitea/printnatura/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d3ca5c2e87
commit
288ee7a3af
|
@ -110,7 +110,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