Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
GMHDBJD committed May 15, 2023
1 parent 76f8c68 commit b85b9a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disttask/loaddata/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ func submitGlobalTaskAndRun(ctx context.Context, taskKey, taskType string, concu
for {
select {
case <-ctx.Done():
logutil.BgLogger().Warn("context done", zap.Error(ctx.Err()))
return ctx.Err()
case <-ticker.C:
found, err := globalTaskManager.GetGlobalTaskByID(globalTask.ID)
Expand Down

0 comments on commit b85b9a2

Please sign in to comment.