From a2b667c043300202d5770742135906f8b1bf3014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 17 Jun 2022 17:15:23 +0200 Subject: [PATCH] Manager: log blocklist threshold --- internal/manager/api_impl/worker_task_updates.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/manager/api_impl/worker_task_updates.go b/internal/manager/api_impl/worker_task_updates.go index aaf2d42e..f6f13eb9 100644 --- a/internal/manager/api_impl/worker_task_updates.go +++ b/internal/manager/api_impl/worker_task_updates.go @@ -212,7 +212,10 @@ 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") + logger.Info(). + Int("numFailedTasks", numFailures). + Int("threshold", threshold). + Msg("not enough failed tasks to blocklist worker") return false, false, nil }