apphealth: timeout is already in msecs

This commit is contained in:
Girish Ramakrishnan
2023-06-22 18:24:36 +05:30
parent eb767bb3b1
commit 6259849958
+1 -1
View File
@@ -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}`);