Try to abstract the main part.

This commit is contained in:
zicla
2019-04-27 23:24:09 +08:00
parent 14b6a74666
commit 2732b14eae
14 changed files with 130 additions and 105 deletions

View File

@ -60,7 +60,7 @@ func (this *DashboardService) Bootstrap() {
this.logger.Info("[cron job] 每日00:05清洗离线数据")
//立即执行一次数据清洗任务
go util.SafeMethod(this.etl)
go util.RunWithRecovery(this.etl)
}