Cleanup: Manager, reduce log level of task timeout checks
This commit is contained in:
parent
67562856d3
commit
e8171fc597
@ -19,7 +19,7 @@ func (ttc *TimeoutChecker) checkTasks(ctx context.Context) {
|
|||||||
logger := log.With().
|
logger := log.With().
|
||||||
Time("threshold", timeoutThreshold.Local()).
|
Time("threshold", timeoutThreshold.Local()).
|
||||||
Logger()
|
Logger()
|
||||||
logger.Debug().Msg("TimeoutChecker: finding active tasks that have not been touched since threshold")
|
logger.Trace().Msg("TimeoutChecker: finding active tasks that have not been touched since threshold")
|
||||||
|
|
||||||
tasks, err := ttc.persist.FetchTimedOutTasks(ctx, timeoutThreshold)
|
tasks, err := ttc.persist.FetchTimedOutTasks(ctx, timeoutThreshold)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user