Removed unnessesary comment

This commit is contained in:
Frank Elsinga 2024-10-20 13:59:44 +02:00 committed by GitHub
parent 6380df93c0
commit fc68042fcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,6 @@ class RabbitMqMonitorType extends MonitorType {
"Accept": "application/json", "Accept": "application/json",
"Authorization": "Basic " + Buffer.from(`${monitor.rabbitmqUsername || ""}:${monitor.rabbitmqPassword || ""}`).toString("base64"), "Authorization": "Basic " + Buffer.from(`${monitor.rabbitmqUsername || ""}:${monitor.rabbitmqPassword || ""}`).toString("base64"),
}, },
// Use axios signal to handle connection timeouts https://stackoverflow.com/a/74739938
signal: axiosAbortSignal((monitor.timeout + 10) * 1000), signal: axiosAbortSignal((monitor.timeout + 10) * 1000),
// Capture reason for 503 status // Capture reason for 503 status
validateStatus: (status) => status === 200 || status === 503, validateStatus: (status) => status === 200 || status === 503,