Manager: remove outdated TODO

This commit is contained in:
Sybren A. Stüvel 2022-06-17 17:15:13 +02:00
parent a368230afa
commit 13bdb0ed73

View File

@ -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
} }