From 13bdb0ed73b6f3bb66b71bbf77df514e2f74d5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 17 Jun 2022 17:15:13 +0200 Subject: [PATCH] Manager: remove outdated TODO --- internal/manager/api_impl/worker_task_updates.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/manager/api_impl/worker_task_updates.go b/internal/manager/api_impl/worker_task_updates.go index 1977baa5..aaf2d42e 100644 --- a/internal/manager/api_impl/worker_task_updates.go +++ b/internal/manager/api_impl/worker_task_updates.go @@ -213,9 +213,6 @@ func (f *Flamenco) maybeBlocklistWorker( threshold := f.config.Get().BlocklistThreshold if numFailures < threshold { 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 }