mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
add retry
This commit is contained in:
parent
0576199db8
commit
d92d8c260b
@ -102,7 +102,7 @@ export default class ApiMonitor {
|
||||
|
||||
try {
|
||||
logger.info(
|
||||
`API Monitor - Pinging ${options.monitorId?.toString()} ${requestType} ${url.toString()}`
|
||||
`API Monitor - Pinging ${options.monitorId?.toString()} ${requestType} ${url.toString()} - Retry: ${options.currentRetryCount}`
|
||||
);
|
||||
|
||||
let startTime: [number, number] = process.hrtime();
|
||||
|
@ -85,7 +85,7 @@ export default class PingMonitor {
|
||||
}
|
||||
|
||||
logger.info(
|
||||
`Pinging host: ${pingOptions?.monitorId?.toString()} ${hostAddress}`
|
||||
`Pinging host: ${pingOptions?.monitorId?.toString()} ${hostAddress} - Retry: ${pingOptions?.currentRetryCount}`
|
||||
);
|
||||
|
||||
try {
|
||||
|
@ -104,7 +104,7 @@ export default class WebsiteMonitor {
|
||||
|
||||
try {
|
||||
logger.info(
|
||||
`Website Monitor - Pinging ${options.monitorId?.toString()} ${requestType} ${url.toString()}`
|
||||
`Website Monitor - Pinging ${options.monitorId?.toString()} ${requestType} ${url.toString()} - Retry: ${options.currentRetryCount}`
|
||||
);
|
||||
|
||||
let startTime: [number, number] = process.hrtime();
|
||||
|
Loading…
Reference in New Issue
Block a user