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

This commit is contained in:
Zichao Lin 2023-10-28 12:30:46 +08:00
parent ef7235c006
commit 1c21596315
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

View File

@ -106,6 +106,8 @@ const nodemailer = require("nodemailer");
}
if (globalConfig.sendMail == true) {
log.info(`暂停10秒`);
await sleep(10000);
log.info(`运行完毕!丢出日志`);
SendLog(
transporter,