wait 10s before sending email to admin (fix #6)

This commit is contained in:
earthjasonlin committed 2023-10-28 12:30:46 +08:00
1 parent ef7235c006
commit 1c21596315
1 file changed
+2
+2
View File
@@ -106,6 +106,8 @@ const nodemailer = require("nodemailer");
} }
if (globalConfig.sendMail == true) { if (globalConfig.sendMail == true) {
log.info(`暂停:10秒`);
await sleep(10000);
log.info(`运行完毕!丢出日志`); log.info(`运行完毕!丢出日志`);
SendLog( SendLog(
transporter, transporter,