kobe6258 hace 8 meses
padre
commit
591d2fa40a
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      task/eta/author/eta_author_task.go
  2. 1 1
      task/message/notice_task.go

+ 1 - 1
task/eta/author/eta_author_task.go

@@ -55,6 +55,6 @@ func convert(author eta.ReportAuthor) financial_analyst.FinancialAnalystDTO {
 	}
 }
 func init() {
-	authorTask := base.NewTask(taskName, cron, new(AuthorTask), base.DEV)
+	authorTask := base.NewTask(taskName, cron, new(AuthorTask), base.PROD)
 	base.RegisterTask(&authorTask)
 }

+ 1 - 1
task/message/notice_task.go

@@ -38,6 +38,6 @@ type NoticeTask struct {
 }
 
 func init() {
-	reportTask := base.NewTask(taskName, cron, new(NoticeTask), base.DEV)
+	reportTask := base.NewTask(taskName, cron, new(NoticeTask), base.PROD)
 	base.RegisterTask(&reportTask)
 }