mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Removed unnessesary comment
This commit is contained in:
parent
6380df93c0
commit
fc68042fcf
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue