Commit 7e929c28 by trace

fix: 每跑一轮都通知的 issue

parent c209fe6f
......@@ -170,7 +170,10 @@ async function startMonitor() {
log(`抓取一圈`)
await getConfig()
.then(() => { // 部署通知, 更新说明
if (newDeploy) {
sendEmail(`<div>爬虫部署版本: ${version}</div>更新说明: ${release}`)
newDeploy = false
}
})
.then(getDaichao)
.then(getTop100)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment