Manager: remove outdated TODO
This commit is contained in:
parent
a368230afa
commit
13bdb0ed73
@ -213,9 +213,6 @@ func (f *Flamenco) maybeBlocklistWorker(
|
|||||||
threshold := f.config.Get().BlocklistThreshold
|
threshold := f.config.Get().BlocklistThreshold
|
||||||
if numFailures < threshold {
|
if numFailures < threshold {
|
||||||
logger.Info().Int("numFailedTasks", numFailures).Msg("not enough failed tasks to blocklist worker")
|
logger.Info().Int("numFailedTasks", numFailures).Msg("not enough failed tasks to blocklist worker")
|
||||||
// TODO: This might need special handling, as this worker will be blocked
|
|
||||||
// from retrying this particular task. It could have been the last worker to
|
|
||||||
// be allowed this task type; if that is the case, the job is now stuck.
|
|
||||||
return false, false, nil
|
return false, false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user