mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-23 12:43:52 +03:00
Fixed comment describing healthcheck
This commit is contained in:
parent
ba3ce9cb9d
commit
b658d94adc
@ -17,7 +17,7 @@ const startTime = new Date(); // Initialize timestamp to calculate time taken
|
||||
|
||||
console.log(`[${startTime}] Running health check...`);
|
||||
|
||||
/* Starts quick HTTP server, attempts to send GET to app, then exists with appropriate exit code */
|
||||
/* Creates an HTTP client, attempts to send GET to app, then exits with appropriate exit code */
|
||||
const healthCheck = http.request(requestOptions, (response) => {
|
||||
const totalTime = (new Date() - startTime) / 1000;
|
||||
const status = response.statusCode;
|
||||
|
Loading…
Reference in New Issue
Block a user