From 6259849958a41af3f08bdb01e5ffe4367ef6df34 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 22 Jun 2023 18:24:36 +0530 Subject: [PATCH] apphealth: timeout is already in msecs --- src/apphealthmonitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apphealthmonitor.js b/src/apphealthmonitor.js index b28d6a7be..5adf7ed78 100644 --- a/src/apphealthmonitor.js +++ b/src/apphealthmonitor.js @@ -93,7 +93,7 @@ async function checkAppHealth(app, options) { .set('User-Agent', 'Mozilla (CloudronHealth)') // required for some apps (e.g. minio) .redirects(0) .ok(() => true) - .timeout(options.timeout * 1000)); + .timeout(options.timeout)); if (healthCheckError) { await apps.appendLogLine(app, `=> Healtheck error: ${healthCheckError}`);