Commit 0fba3652 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update retry task

parent 61d7f32e
...@@ -22,7 +22,7 @@ func (s *Sync) ProcessTasks() { ...@@ -22,7 +22,7 @@ func (s *Sync) ProcessTasks() {
for _, task := range tasks { for _, task := range tasks {
status := constant.TaskHistoryStatusSuccess status := constant.TaskHistoryStatusSuccess
ok, err := s.SyncTask(task.Id, task.UserId) ok, err := s.SyncTask(task.TaskId, task.UserId)
if err != nil { if err != nil {
log.WithError(err).Error("sync task error") log.WithError(err).Error("sync task error")
} }
......
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