[migration] print instance task limit in debug level

This commit is contained in:
Kassian Sun 2023-04-21 18:28:41 +08:00
parent 651c86feff
commit c1ed375813
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ func (p *DispatcherProcessor) handleScheduleSubTask(taskItem *task2.Task) error
return fmt.Errorf("get preference intance error: %w", err)
}
if p.state[instance.ID].Total >= p.config.MaxTasksPerInstance {
log.Infof("hit max tasks per instance with %d, skip dispatch", p.config.MaxTasksPerInstance)
log.Debugf("hit max tasks per instance with %d, skip dispatch", p.config.MaxTasksPerInstance)
return nil
}