apphealth: timeout is already in msecs
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user