Manager: log blocklist threshold
This commit is contained in:
parent
13bdb0ed73
commit
a2b667c043
@ -212,7 +212,10 @@ 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).
|
||||||
|
Int("threshold", threshold).
|
||||||
|
Msg("not enough failed tasks to blocklist worker")
|
||||||
return false, false, nil
|
return false, false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user