[migration] print instance task limit in debug level
This commit is contained in:
parent
651c86feff
commit
c1ed375813
|
@ -657,7 +657,7 @@ func (p *DispatcherProcessor) handleScheduleSubTask(taskItem *task2.Task) error
|
||||||
return fmt.Errorf("get preference intance error: %w", err)
|
return fmt.Errorf("get preference intance error: %w", err)
|
||||||
}
|
}
|
||||||
if p.state[instance.ID].Total >= p.config.MaxTasksPerInstance {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue