From 288ee7a3afe9b766f1d1bfa7f5f7f22c0f63ab04 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 12 Jan 2023 16:48:27 +0100 Subject: [PATCH] refs #4550 hotfix: reconnectTimeout cast to ms --- print-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {