@ -403,14 +403,14 @@ class Monitor extends BeanModel {
bean.important=false;
if(bean.status===DOWN&&this.resendInterval>0){
timeSinceLastNotified=(dayjs().valueOf()-(bean.lastNotifiedTime|| 0))/60;// divide by 60 to convert from seconds to minutes
lettimeSinceLastNotified=(dayjs.utc().valueOf()-(bean.lastNotifiedTime== null?0:dayjs.utc(bean.lastNotifiedTime).valueOf()))/1000/60;// divide by 1000 to convert from milliseconds to seconds and divide by 60 to convert from seconds to minutes
if(timeSinceLastNotified>=this.resendInterval){
// Send notification again, because we are still DOWN
debug(`[${this.name}] sendNotification`);
debug(`[${this.name}] sendNotification again: lastNotifiedTime: ${bean.lastNotifiedTime} | current time: ${R.isoDateTime(dayjs.utc())}`);