diff --git a/print-server.js b/print-server.js index 37c0a19..a452bcf 100644 --- a/print-server.js +++ b/print-server.js @@ -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() {