Update healthcheck.js

This commit is contained in:
Louis Lam 2021-09-07 17:30:50 +08:00 committed by GitHub
parent 87e874406a
commit 926c15ea40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ if (process.env.SSL_KEY && process.env.SSL_CERT) {
let options = { let options = {
host: process.env.HOST || "127.0.0.1", host: process.env.HOST || "127.0.0.1",
port: parseInt(process.env.PORT) || 3001, port: parseInt(process.env.PORT) || 3001,
timeout: 120 * 100, timeout: 120 * 1000,
}; };
let request = client.request(options, (res) => { let request = client.request(options, (res) => {