Manager: log blocklist threshold

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

View File

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