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